MCPcopy Create free account
hub / github.com/doldecomp/mkdd / getTrans

Method getTrans

include/JSystem/JGeometry/Matrix.h:319–321  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

317
318
319 void getTrans(TVec3f &rDest) const {
320 rDest.set(this->at(0, 3), this->at(1, 3), this->at(2, 3));
321 }
322 void setTrans(const TVec3<f32>& translation) {
323 setTrans(translation.x, translation.y, translation.z);
324 }

Callers 3

resetMtxMethod · 0.80
resetMtxMethod · 0.80
setMtxMethod · 0.80

Calls 2

atMethod · 0.80
setMethod · 0.45

Tested by

no test coverage detected