19 INLINE
void PhysicalNode::
21 _physicals.erase(_physicals.begin(), _physicals.end());
29 get_physical(
int index)
const {
30 nassertr(index >= 0 && index < (
int)_physicals.size(),
32 return _physicals[index];
39 INLINE
int PhysicalNode::
40 get_num_physicals()
const {
41 return _physicals.size();
48 INLINE
void PhysicalNode::
50 _physicals.push_back(physical);
51 physical->_physical_node =
this;
Defines a set of physically modeled attributes.