Mtx44 Transformation::ScalationMatrix() const
{
	Mtx44 scalation;
	scalation.SetToScale(scale.x,scale.y,scale.z);

	return scalation;
}
Beispiel #2
0
void MS::Scale(float scaleX, float scaleY, float scaleZ) {
	Mtx44 mat;
	mat.SetToScale(scaleX, scaleY, scaleZ);
	ms.top() = ms.top() * mat;
}
Beispiel #3
0
void MS::Scale(Vector3 scaleFactor) {
	Mtx44 mat;
	mat.SetToScale(scaleFactor.x, scaleFactor.y, scaleFactor.z);
	ms.top() = ms.top() * mat;
}
Beispiel #4
0
void MS::Scale(const Vector3 scale)
{
	Mtx44 mat;
	mat.SetToScale(scale.x, scale.y, scale.z);
	ms.top() = ms.top() * mat;
}