Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -440,23 +440,20 @@ namespace LvEdEngine
{
public:
const Vector3& Scale() const { return m_scale; }
void SetScale(const Vector3& scale)
{
m_scale = scale;
void SetScale(const Vector3& scale) {
m_scale = scale;
m_needUpdate = true;
}

const Vector3& Translation() { return m_translate; }
void SetTranslation(const Vector3& trans)
{
m_translate = trans;
void SetTranslation(const Vector3& trans) {
m_translate = trans;
m_needUpdate = true;
}

const Vector3& Rotation() { return m_rotate; }
void SetRotation(const Vector3& rotation)
{
m_rotate = rotation;
void SetRotation(const Vector3& rotation) {
m_rotate = rotation;
m_needUpdate = true;
}
const Matrix& GetMatrix();
Expand Down