15 #include "bulletPlaneShape.h"
25 BulletPlaneShape(
const LVector3 &normal, PN_stdfloat constant) {
27 btVector3 btNormal = LVecBase3_to_btVector3(normal);
29 _shape =
new btStaticPlaneShape(btNormal, constant);
30 _shape->setUserPointer(
this);
38 btCollisionShape *BulletPlaneShape::
52 LVector3 normal = solid->get_normal();
53 PN_stdfloat constant = solid->dist_to_plane(
LPoint3(0, 0, 0));
This is a three-component vector distance (as opposed to a three-component point, which represents a ...
This is a three-component point in space (as opposed to a three-component vector, which represents a ...
TypeHandle is the identifier used to differentiate C++ class types.