]> git.jsancho.org Git - lugaru.git/blobdiff - Source/Person.cpp
made convenience functions inlineable to avoid performance hit
[lugaru.git] / Source / Person.cpp
index 33a57f3c324c745a1de57cd1bc5fd748247688b5..6cee8020e15bedc95eae9ecf7dd9bae33ec2371e 100644 (file)
@@ -85,21 +85,6 @@ extern bool gamestarted;
 
 Person player[maxplayers];
 
-/* convenience functions
- */
-Joint& Person::joint(int bodypart)
-{
-    return skeleton.joints[skeleton.jointlabels[bodypart]];
-}
-XYZ& Person::jointPos(int bodypart)
-{
-    return joint(bodypart).position;
-}
-XYZ& Person::jointVel(int bodypart)
-{
-    return joint(bodypart).velocity;
-}
-
 /* EFFECT
  *
  * USES: