mirror of
https://github.com/TombEngine/TombEngine.git
synced 2025-04-28 15:57:59 +03:00
Update moveable scale function doc comments
This commit is contained in:
parent
1881e08c98
commit
d3d885e78f
1 changed files with 3 additions and 4 deletions
|
@ -479,7 +479,7 @@ Rotation Moveable::GetRotation() const
|
|||
};
|
||||
}
|
||||
|
||||
/// Get the moveable's scale.
|
||||
/// Get the moveable's visual scale.
|
||||
// @function Moveable:GetScale
|
||||
// @treturn Vec3 A copy of the moveable's visual scale.
|
||||
Vec3 Moveable::GetScale() const
|
||||
|
@ -506,10 +506,9 @@ void Moveable::SetRotation(const Rotation& rot)
|
|||
_moveable->DisableInterpolation = true;
|
||||
}
|
||||
|
||||
/// Set the moveable's scale
|
||||
// Sets the scale of the moveable. It's only a visual effect and does not affect collision.
|
||||
/// Set the moveable's visual scale. Does not affect collision.
|
||||
// @function Moveable:SetScale
|
||||
// @tparam Vec3 new scale of the moveable
|
||||
// @tparam Vec3 scale New visual scale.
|
||||
void Moveable::SetScale(const Vec3& scale)
|
||||
{
|
||||
_moveable->Pose.Scale = scale.ToVector3();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue