I'm using ASSIMP's built in aiVector3t class but I can't find any mention of dot product or cross product in the class documentation.
Are these operations defined? If so what is the syntax?
|
I'm using ASSIMP's built in aiVector3t class but I can't find any mention of dot product or cross product in the class documentation. Are these operations defined? If so what is the syntax? |
|||
|
|
|
These operations are defined, but not documented correctly by the auto documenting tool (doxygen) because they are not members of the aiVector3t class. You can find them by looking through the ASSIMP source file "vector3.inl"
The dot product is also in there, although it took me longer to find it as it was mislabelled "scalar product" in the comment
Also useful, not in the docs is a typedef for a vector of floats ;
So you can all of these them as follows;
|
||||
|
|