Panda3D
Loading...
Searching...
No Matches
odePlaneGeom.cxx
Go to the documentation of this file.
1/**
2 * PANDA 3D SOFTWARE
3 * Copyright (c) Carnegie Mellon University. All rights reserved.
4 *
5 * All use of this software is subject to the terms of the revised BSD
6 * license. You should have received a copy of this license along
7 * with this source code in a file named "LICENSE."
8 *
9 * @file odePlaneGeom.cxx
10 * @author joswilso
11 * @date 2006-12-27
12 */
13
14#include "config_ode.h"
15#include "odePlaneGeom.h"
16
17TypeHandle OdePlaneGeom::_type_handle;
18
19OdePlaneGeom::
20OdePlaneGeom(dGeomID id) :
21 OdeGeom(id) {
22}
23
24OdePlaneGeom::
25OdePlaneGeom(dReal a, dReal b, dReal c, dReal d) :
26 OdeGeom(dCreatePlane(nullptr, a, b, c, d)) {
27}
28
29OdePlaneGeom::
30OdePlaneGeom(const LVecBase4f &params) :
31 OdeGeom(dCreatePlane(nullptr, params[0], params[1], params[2], params[3])) {
32}
33
34OdePlaneGeom::
35OdePlaneGeom(OdeSpace &space, dReal a, dReal b, dReal c, dReal d) :
36 OdeGeom(dCreatePlane(space.get_id(), a, b, c, d)) {
37}
38
39OdePlaneGeom::
40OdePlaneGeom(OdeSpace &space, const LVecBase4f &params) :
41 OdeGeom(dCreatePlane(space.get_id(), params[0], params[1], params[2], params[3])) {
42}
43
44OdePlaneGeom::
45~OdePlaneGeom() {
46}
TypeHandle is the identifier used to differentiate C++ class types.
Definition typeHandle.h:81
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.