14#ifndef PHYSXCONTACTPOINT_H
15#define PHYSXCONTACTPOINT_H
35 LPoint3f get_point()
const;
36 LVector3f get_normal()
const;
37 float get_normal_force()
const;
38 float get_separation()
const;
39 unsigned int get_feature_index0()
const;
40 unsigned int get_feature_index1()
const;
45 void set(NxContactStreamIterator it);
52 NxU32 _feature_index0;
53 NxU32 _feature_index1;
60 TypedReferenceCount::init_type();
62 TypedReferenceCount::get_class_type());
65 return get_class_type();
69 return get_class_type();
Abstract base class for shapes.
TypeHandle is the identifier used to differentiate C++ class types.
This is an abstract class that all classes which use TypeHandle, and also provide virtual functions t...
static void init_type()
This function is declared non-inline to work around a compiler bug in g++ 2.96.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
void register_type(TypeHandle &type_handle, const std::string &name)
This inline function is just a convenient way to call TypeRegistry::register_type(),...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.