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

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