Files
o3de/Code/Editor/Objects/Gizmo.cpp
T
2021-06-29 13:55:28 -07:00

41 lines
877 B
C++

/*
* Copyright (c) Contributors to the Open 3D Engine Project
*
* SPDX-License-Identifier: Apache-2.0 OR MIT
*
*/
#include "EditorDefs.h"
#include "Gizmo.h"
//////////////////////////////////////////////////////////////////////////
// CGizmo implementation.
//////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////
CGizmo::CGizmo()
{
m_bDelete = false;
m_matrix.SetIdentity();
m_flags = 0;
}
//////////////////////////////////////////////////////////////////////////
CGizmo::~CGizmo()
{
}
//////////////////////////////////////////////////////////////////////////
void CGizmo::SetMatrix(const Matrix34& tm)
{
m_matrix = tm;
}
//////////////////////////////////////////////////////////////////////////
void CGizmo::DeleteThis()
{
m_bDelete = true;
};