d_t_mass_obj 99%

This commit is contained in:
lepelog
2025-12-13 01:23:37 +01:00
parent 62fc066b60
commit b017949c4b
15 changed files with 2003 additions and 63 deletions
+10
View File
@@ -87,6 +87,11 @@ public:
void inverse() {
MTXInverse(*this, *this);
}
mMtx_c copyInverse() {
mMtx_c ret = *this;
ret.inverse();
return ret;
}
void multVecZero(nw4r::math::VEC3 &out) const; ///< Converts the matrix to a vector.
void zero(); ///< Zeroes out the matrix.
@@ -142,6 +147,11 @@ public:
MTXMultVec(*this, ret, ret);
return ret;
}
mVec3_c multVec2(const mVec3_c &v) const {
mVec3_c ret;
MTXMultVec(*this, v, ret);
return ret;
}
void multVecSR(const mVec3_c &in, mVec3_c &out) const {
MTXMultVecSR(*this, in, out);