02 2017 档案

摘要:#include <intrin.h> #include <math.h> //注意那个四个分量的变量 洗牌,给那个分量对准后 叉乘 (cross),那个是sse的叉乘 struct Vector4 { float x, y, z, w; }; struct Matrix { float _M[4] 阅读全文
posted @ 2017-02-24 11:28 草丛有头猪 阅读(1284) 评论(1) 推荐(0)
摘要:struct Vector4 { float x, y, z, w; }; struct Matrix { float _M[4][4]; }; void SSE_VectorMultiplyMatrix(const Vector4& v,const Matrix& m1,Vector4& ret) 阅读全文
posted @ 2017-02-23 15:46 草丛有头猪 阅读(410) 评论(1) 推荐(0)