MCPcopy Create free account
hub / github.com/EricLengyel/Terathon-Math-Library / Scale

Method Scale

TSMatrix4D.cpp:899–904  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

897}
898
899Transform3D Terathon::Scale(const Transform3D& m, const Vector3D& v)
900{
901 return (Transform3D(m(0,0) * v.x, m(0,1) * v.x, m(0,2) * v.x, m(0,3) * v.x,
902 m(1,0) * v.y, m(1,1) * v.y, m(1,2) * v.y, m(1,3) * v.y,
903 m(2,0) * v.z, m(2,1) * v.z, m(2,2) * v.z, m(2,3) * v.z));
904}
905
906Matrix3D Terathon::Transform(const Transform3D& m1, const Matrix3D& m2)
907{

Callers

nothing calls this directly

Calls 1

Transform3DClass · 0.70

Tested by

no test coverage detected