All modules now compile again.
[fail.git] / src / collision / Box.cpp
blob6cfb3ae92deb32417d824cfcf0c0e2d1694184c7
1 #include "collision/Box.h"
3 using namespace awful;
4 using namespace awful::collision;
6 Box::Box( const Pointer< scenegraph::Frame >& pFrame, const math::Vector3f Size ) :
7 PlaceableGeom( pFrame ),
8 m_Size( Size )
10 m_GeomID = dCreateBox( 0, m_Size.x(), m_Size.y(), m_Size.z() );
13 Box::Box( const Serialization_tag& )
17 void Box::postLoad()
19 PlaceableGeom::postLoad();
20 m_GeomID = dCreateBox( 0, m_Size.x(), m_Size.y(), m_Size.z() );