TFormNormal / TFormVector not working?

BlitzMax Modules Forums/MiniB3D/TFormNormal / TFormVector not working?

I'm giving this it's own thread to give it a little more attention. Can anyone point out what I'm doing wrong? All I get back for TFormedXYZ is 0.

Also, What's the difference between TMesh and TEntity?

Import sidesign.minib3d

Graphics3D 800,600,32,2

Local camera:TCamera = CreateCamera()
PositionEntity camera,0,0,-10
light:TLight = CreateLight()
RotateEntity light,45,-90,0

Local cube:TEntity = CreateCube()

RotateEntity cube,0,0,45

While Not KeyDown(KEY_ESCAPE)
Cls

TFormVector 0,1,0,cube,0

UpdateWorld
RenderWorld

Text 5,5,TFormedX#()
Text 5,20,TFormedY#()
Text 5,35,TFormedZ#()

Flip 0
Wend
EndGraphics
End