Go to the documentation of this file.
14 #ifndef __BULLET_PLANE_SHAPE_H__
15 #define __BULLET_PLANE_SHAPE_H__
40 LPlane get_plane()
const;
41 LVector3 get_plane_normal()
const;
42 PN_stdfloat get_plane_constant()
const;
46 MAKE_PROPERTY(plane, get_plane);
47 MAKE_PROPERTY(plane_normal, get_plane_normal);
48 MAKE_PROPERTY(plane_constant, get_plane_constant);
51 virtual btCollisionShape *ptr()
const;
54 btStaticPlaneShape *_shape;
57 static void register_with_read_factory();
68 static void init_type() {
69 BulletShape::init_type();
71 BulletShape::get_class_type());
74 return get_class_type();
78 return get_class_type();
87 #endif // __BULLET_PLANE_SHAPE_H__
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
A class to retrieve the individual data elements previously stored in a Datagram.
void register_type(TypeHandle &type_handle, const std::string &name)
This inline function is just a convenient way to call TypeRegistry::register_type(),...
This is the fundamental interface for extracting binary objects from a Bam file, as generated by a Ba...
This is the fundamental interface for writing binary objects to a Bam file, to be extracted later by ...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
Base class for objects that can be written to and read from Bam files.
An ordered list of data elements, formatted in memory for transmission over a socket or writing to a ...
TypeHandle is the identifier used to differentiate C++ class types.
An instance of this class is passed to the Factory when requesting it to do its business and construc...
virtual void write_datagram(BamWriter *manager, Datagram &dg)
Writes the contents of this object to the datagram for shipping out to a Bam file.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
virtual void fillin(DatagramIterator &scan, BamReader *manager)
This internal function is intended to be called by each class's make_from_bam() method to read in all...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.