How in god's name is someone supposed to know that they need to include
Generate.h to get the FAQ code for cross products to work? And why would
this not be in VecOps.h?
gmtl::Vec3f vecA, vecB, crossVec;
crossVec = gmtl::cross( vecA, vecB );
I was beating my head up against the wall for hours first thinking that
cross( vec3f, vec3f ) had been removed completely.
Please put some documentation as to where
Nobody/Anonymous ( nobody ) - 2009-09-17 20:09
5
Open
None
Nobody/Anonymous
None
None
Public
|
Date: 2009-09-17 20:40 ...and the compiler with optimization turned on produces the same code in |
|
Date: 2009-09-17 20:18 It looks like maybe the documentation is out of sync with the code |