mirror of
https://github.com/encounter/Petari.git
synced 2026-03-30 11:34:15 -07:00
e8794553c5
DiskTorusGravity.o Matched all remaining functions in the above files and both forms of `TRot3f::mult33`. The `mult33` functions and `mult33inline` should be returned to since they likely are the same function. As of right now, `mult33inline` is used to define the single argument form of `mult33` but not the double argument form. Added some extra paired single TVec3f inlines Provided comments explaining what `MR::makeAxisVerticalZX` and `MR::calcPerpendicularFootToLineInside` do
14 lines
277 B
C++
14 lines
277 B
C++
#include <JSystem/JGeometry/TMatrix.hpp>
|
|
|
|
template<>
|
|
void TVec3f::scale(f32 scalar, const TVec3f &rOther) {
|
|
x = rOther.x * scalar;
|
|
y = rOther.y * scalar;
|
|
z = rOther.z * scalar;
|
|
}
|
|
|
|
template<>
|
|
void TRot3f::mult33(TVec3f &rDst) const {
|
|
mult33Inline(rDst, rDst);
|
|
}
|