PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University. More...
#include "bulletHelper.h"
#include "bulletRigidBodyNode.h"
#include "bulletSoftBodyNode.h"
#include "bulletGhostNode.h"
#include "geomLines.h"
#include "geomTriangles.h"
#include "geomVertexRewriter.h"
#include "bullet_utils.h"
Go to the source code of this file.
Functions | |
CPT (GeomVertexFormat) BulletHelper | |
Given a source GeomVertexFormat, converts it if necessary to the appropriate format for rendering. More... | |
PT (Geom) BulletHelper | |
Returns a bounding-box visualization of the indicated node's "tight" bounding volume. More... | |
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
All rights reserved.
All use of this software is subject to the terms of the revised BSD license. You should have received a copy of this license along with this source code in a file named "LICENSE."
Definition in file bulletHelper.cxx.
|
inline |
Given a source GeomVertexFormat, converts it if necessary to the appropriate format for rendering.
This flavor of register_format() implicitly creates a one-array vertex format from the array definition.
Adds the indicated format to the registry, if there is not an equivalent format already there; in either case, returns the pointer to the equivalent format now in the registry.
The protected implementation of premunge_format().
This exists just to cast away the const pointer.
This must be called before a format may be used in a Geom. After this call, you should discard the original pointer you passed in (which may or may not now be invalid) and let its reference count decrement normally; you should use only the returned value from this point on.
Definition at line 103 of file bulletHelper.cxx.
References GeomVertexFormat::has_column.
PT | ( | Geom | ) |
Returns a bounding-box visualization of the indicated node's "tight" bounding volume.
Returns a point on the surface of the sphere. latitude and longitude range from 0.0 to 1.0.
Definition at line 153 of file bulletHelper.cxx.