
29 Nov
2006
29 Nov
'06
3:52 p.m.
[snip] If you're doing matrix transformations, you might also like to consider using separate PositionN and DirectionN types instead of VecN to make use of the type system to catch some math bugs but I haven't looked into this myself yet so I don't know whether this would be practical or not.
Indeed, not only bug catching : actually, some operations on points, vectors and normals have to be done differently. Thu
Best regards, Brian.