vtkGeantEvent
This commit is contained in:
@@ -101,7 +101,11 @@ public:
|
||||
* @brief Gets the current size (scale) of the box.
|
||||
* @return The size vector.
|
||||
*/
|
||||
inline Vector3f GetSize() const { return m_LocalT.GetScale(); }
|
||||
inline Vector3f GetSize() const {
|
||||
Vector3f s = this->GetScale();
|
||||
Vector3f ls = m_LocalT.GetScale();
|
||||
return Vector3f(s(0) * ls(0), s(1) * ls(1), s(2) * ls(2));
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Swaps two local axes of the box.
|
||||
|
||||
Reference in New Issue
Block a user