Vector Matrix Plane using glm glmVectorMatrixPlane void mprint(glm::mat4& Mat) { printf(“\n %f %f %f %f\n %f %f %f %f\n %f %f %f %f\n %f %f %f %f\n\n”, Mat[0][0], Mat[1][0], Mat[2][0], Mat[3][0], Mat[0][1], Mat[1][1], Mat[2][1], Mat[3][1], Mat[0][2], Mat[1][2], Mat[2][2], Mat[3][2], Mat[0][3], Mat[1][3], Mat[2][3], Mat[3][3]); } float theta(const glm::vec3& v1, const glm::vec3& v2) { float len1 … Continue reading Vector Matrix Plane
Copy and paste this URL into your WordPress site to embed
Copy and paste this code into your site to embed