Skip to content

Instantly share code, notes, and snippets.

@kenpower
kenpower / gist:4032551
Last active March 23, 2017 11:16
Using Assimp aiVector3D and aiMatrix3x3
/*+++++++++++++++++++++++++++++++++++++++++
Some sample code showing how to do basic vector operations with assimp
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
// create a 3d Vector
aiVector3D a(1.0f,2.0f,3.0f);
aiVector3D b=a; //copy vector to another
b.x=0.f; //assign value to x component of b
//out put a vector