Microsoft
prefix
aaaaand
let controlSnake (kb:IKeyboard)=
controller {
let! move =
(kb.IsDown Keys.Up %? V3d.OIO %. V3d.OOO) %+
(kb.IsDown Keys.Down %? -V3d.OIO %. V3d.OOO) %+
(kb.IsDown Keys.Left %? -V3d.IOO %. V3d.OOO) %+
(kb.IsDown Keys.Right %? V3d.IOO %. V3d.OOO)
if move <> V3d.Zero then
return (fun _ -> move )
}
this produces an aFun, but Mod.integrate is looking for a list of AdaptiveFuncs. I guess I'm asking what the proper procedure for producing AdaptiveFunc? I couldn't find a way to make it from aFun, and the only way I saw to make one was through the 'adaptive' computation expression.
@dallinbeutler it seems Mod.integrate
is extension from here
AdaptiveFunc
in ModExtension
if there is afun
from base? @dallinbeutler
afun
@krauthaufen @haraldsteinlechner hey, what's purpose of
<DebugType>full</DebugType>
in rendering examples?
examples are generated by new.fsx and for some reason in the template this was activated. that is why it is everywhere, but honsetly i cannot imagin why it should be necessary