mirror of
https://github.com/encounter/tp.git
synced 2026-07-11 06:18:46 -07:00
d_a_b_ds and d_a_e_vt equivalent (#2424)
This commit is contained in:
@@ -127,10 +127,7 @@ public:
|
||||
void setGlobalRTMatrix(const Mtx m) { JPASetRMtxTVecfromMtx(m, mGlobalRot, &mGlobalTrs); }
|
||||
void setGlobalSRTMatrix(const Mtx m) {
|
||||
JPASetRMtxSTVecfromMtx(m, mGlobalRot, &mGlobalScl, &mGlobalTrs);
|
||||
|
||||
// set is actually used here in debug
|
||||
mGlobalPScl.x = mGlobalScl.x;
|
||||
mGlobalPScl.y = mGlobalScl.y;
|
||||
mGlobalPScl.set(mGlobalScl.x, mGlobalScl.y);
|
||||
}
|
||||
void setGlobalTranslation(f32 x, f32 y, f32 z) { mGlobalTrs.set(x, y, z); }
|
||||
void setGlobalTranslation(const JGeometry::TVec3<f32>& trs) { mGlobalTrs.set(trs); }
|
||||
@@ -170,10 +167,6 @@ public:
|
||||
mGlobalScl.set(scale);
|
||||
mGlobalPScl.set(scale.x ,scale.y);
|
||||
}
|
||||
void setGlobalSRTMatrix(const MtxP matrix) {
|
||||
JPASetRMtxSTVecfromMtx(matrix, mGlobalRot, &mGlobalScl, &mGlobalTrs);
|
||||
mGlobalPScl.set(mGlobalScl.x, mGlobalScl.y);
|
||||
}
|
||||
void setDirection(const JGeometry::TVec3<f32>& direction) {
|
||||
mLocalDir.set(direction);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user