Mtx44 Transformation::ScalationMatrix() const { Mtx44 scalation; scalation.SetToScale(scale.x,scale.y,scale.z); return scalation; }
void MS::Scale(float scaleX, float scaleY, float scaleZ) { Mtx44 mat; mat.SetToScale(scaleX, scaleY, scaleZ); ms.top() = ms.top() * mat; }
void MS::Scale(Vector3 scaleFactor) { Mtx44 mat; mat.SetToScale(scaleFactor.x, scaleFactor.y, scaleFactor.z); ms.top() = ms.top() * mat; }
void MS::Scale(const Vector3 scale) { Mtx44 mat; mat.SetToScale(scale.x, scale.y, scale.z); ms.top() = ms.top() * mat; }