Panda3D

odeBoxGeom.cxx

00001 // Filename: odeBoxGeom.cxx
00002 // Created by:  joswilso (27Dec06)
00003 //
00004 ////////////////////////////////////////////////////////////////////
00005 //
00006 // PANDA 3D SOFTWARE
00007 // Copyright (c) Carnegie Mellon University.  All rights reserved.
00008 //
00009 // All use of this software is subject to the terms of the revised BSD
00010 // license.  You should have received a copy of this license along
00011 // with this source code in a file named "LICENSE."
00012 //
00013 ////////////////////////////////////////////////////////////////////
00014 
00015 #include "config_ode.h"
00016 #include "odeBoxGeom.h"
00017 
00018 TypeHandle OdeBoxGeom::_type_handle;
00019 
00020 OdeBoxGeom::
00021 OdeBoxGeom(dGeomID id) :
00022   OdeGeom(id) {
00023 }
00024 
00025 OdeBoxGeom::
00026 OdeBoxGeom(dReal lx, dReal ly, dReal lz) :
00027   OdeGeom(dCreateBox(0, lx, ly, lz)) {
00028 }
00029 
00030 OdeBoxGeom::
00031 OdeBoxGeom(OdeSpace &space, dReal lx, dReal ly, dReal lz) :
00032   OdeGeom(dCreateBox(space.get_id(), lx, ly, lz)) {
00033 }
00034 
00035 OdeBoxGeom::
00036 OdeBoxGeom(OdeSpace &space, const LVecBase3f &size) :
00037   OdeGeom(dCreateBox(space.get_id(), size[0], size[1], size[2])) {
00038 }
00039 
00040 OdeBoxGeom::
00041 ~OdeBoxGeom() {
00042 }
 All Classes Functions Variables Enumerations