forked from Dynamitos/Seele
overhauled physics engine
This commit is contained in:
1 parent
3c7346cf7b
commit
2208ab438a
164 files changed
+22606
-928
No files matched your search
@@ -145,17 +145,17 @@ Vector Transform::getScale() const
|
||||
return Vector(scale);
|
||||
}
|
||||
|
||||
void Transform::setPosition(Math::Vector pos)
|
||||
void Transform::setPosition(Vector pos)
|
||||
{
|
||||
position = Vector4(pos, 0);
|
||||
}
|
||||
|
||||
void Transform::setRotation(Math::Quaternion quat)
|
||||
void Transform::setRotation(Quaternion quat)
|
||||
{
|
||||
rotation = quat;
|
||||
}
|
||||
|
||||
void Transform::setScale(Math::Vector s)
|
||||
void Transform::setScale(Vector s)
|
||||
{
|
||||
scale = Vector4(s, 0);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user