TFormVector/TFormPoint

Blitz3D Forums/Blitz3D Programming/TFormVector/TFormPoint

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

TFormVector doesn't take position into account, while TFormPoint does.

TFormNormal is the same as TFormVector except it normalizes the vector, so it always has a length of 1 unit.

An example would be, you want to know where a vertex in a mesh is in your world/game, so you use:
TFormPoint VertexX,VertexY,VertexZ,mymesh,0

You might also want to know which direction the vertex's normal is pointing in the world/game, so you use:
TFormVector VertexNX,VertexNY,VertexNZ,mymesh,0
(You could also have used TFormNormal for that)

So TFormPoint is for finding out stuff about a location, while TFormVector is for finding out stuff about a direction.