Migration to LLMatrix4a instead of glh::matrix4f
This commit is contained in:
@@ -2185,7 +2185,7 @@ BOOL LLVolume::generate()
|
||||
0, 0, scale[2], 0,
|
||||
0, 0, 0, 1 };
|
||||
|
||||
LLMatrix4 rot((F32*) mPathp->mPath[s].mRot.mMatrix);
|
||||
LLMatrix4 rot(mPathp->mPath[s].mRot.getF32ptr());
|
||||
LLMatrix4 scale_mat(sc);
|
||||
|
||||
scale_mat *= rot;
|
||||
@@ -3671,16 +3671,14 @@ S32 LLVolume::getNumTriangles(S32* vcount) const
|
||||
void LLVolume::generateSilhouetteVertices(std::vector<LLVector3> &vertices,
|
||||
std::vector<LLVector3> &normals,
|
||||
const LLVector3& obj_cam_vec_in,
|
||||
const LLMatrix4& mat_in,
|
||||
const LLMatrix3& norm_mat_in,
|
||||
const LLMatrix4a& mat_in,
|
||||
const LLMatrix4a& norm_mat_in,
|
||||
S32 face_mask)
|
||||
{
|
||||
LLMatrix4a mat;
|
||||
mat.loadu(mat_in);
|
||||
const LLMatrix4a& mat = mat_in;
|
||||
|
||||
const LLMatrix4a& norm_mat = norm_mat_in;
|
||||
|
||||
LLMatrix4a norm_mat;
|
||||
norm_mat.loadu(norm_mat_in);
|
||||
|
||||
LLVector4a obj_cam_vec;
|
||||
obj_cam_vec.load3(obj_cam_vec_in.mV);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user