mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -04:00
formatting
This commit is contained in:
parent
ae5d4a9cb2
commit
f7e417c6d5
@ -28,8 +28,7 @@ TypeHandle ForceNode::_type_handle;
|
|||||||
////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////
|
||||||
ForceNode::
|
ForceNode::
|
||||||
ForceNode(const string &name) :
|
ForceNode(const string &name) :
|
||||||
PandaNode(name)
|
PandaNode(name) {
|
||||||
{
|
|
||||||
}
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////
|
||||||
@ -73,8 +72,9 @@ add_forces_from(const ForceNode &other) {
|
|||||||
_forces.insert(_forces.end(),
|
_forces.insert(_forces.end(),
|
||||||
other._forces.begin(), other._forces.end());
|
other._forces.begin(), other._forces.end());
|
||||||
|
|
||||||
for (; last != _forces.end(); last++)
|
for (; last != _forces.end(); last++) {
|
||||||
(*last)->_force_node = this;
|
(*last)->_force_node = this;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////
|
||||||
|
Loading…
x
Reference in New Issue
Block a user