diff --git a/include/gen/LimitedHingeDescriptor.h b/include/gen/LimitedHingeDescriptor.h index cfd98f73d22d2b742276b982b2732cb0bf88fe0a..db07bada595f6cf755796297eaa1b524dae73375 100644 --- a/include/gen/LimitedHingeDescriptor.h +++ b/include/gen/LimitedHingeDescriptor.h @@ -28,19 +28,19 @@ struct LimitedHingeDescriptor { /*! Axis of rotation. */ Vector4 axleA; /*! Vector in the rotation plane which defines the zero angle. */ - Vector4 perp2axleina1; + Vector4 perp2AxleInA1; /*! * Vector in the rotation plane, orthogonal on the previous one, which defines the * positive direction of rotation. This is always the vector product of Axle A and * Perp2 Axle In A1. */ - Vector4 perp2axleina2; + Vector4 perp2AxleInA2; /*! Pivot A in second entity coordinate system. */ Vector4 pivotB; /*! Axle A in second entity coordinate system. */ Vector4 axleB; /*! Perp2 Axle In A2 in second entity coordinate system. */ - Vector4 perp2axleinb2; + Vector4 perp2AxleInB2; /*! Minimum rotation angle. */ float minAngle; /*! Maximum rotation angle. */ diff --git a/include/obj/bhkHingeConstraint.h b/include/obj/bhkHingeConstraint.h index 7965f7190efa648ffa78f30346e0598f12d2c219..1ce5ab3b34f2221a7886b6e433d0d76b776b09c0 100644 --- a/include/obj/bhkHingeConstraint.h +++ b/include/obj/bhkHingeConstraint.h @@ -58,9 +58,9 @@ protected: /*! Pivot A. */ Vector4 pivotA; /*! Unknown. */ - Vector4 perp2axleina1; + Vector4 perp2AxleInA1; /*! Unknown. */ - Vector4 perp2axleina2; + Vector4 perp2AxleInA2; /*! Pivot B. */ Vector4 pivotB; /*! Unknown. */ diff --git a/src/gen/LimitedHingeDescriptor.cpp b/src/gen/LimitedHingeDescriptor.cpp index 749f853abbed9fff1f5c594f05e9dfd37977eb37..1081461ebccbe20837112b281cadc6d6e8e819d3 100644 --- a/src/gen/LimitedHingeDescriptor.cpp +++ b/src/gen/LimitedHingeDescriptor.cpp @@ -20,11 +20,11 @@ LimitedHingeDescriptor::LimitedHingeDescriptor( const LimitedHingeDescriptor & s LimitedHingeDescriptor & LimitedHingeDescriptor::operator=( const LimitedHingeDescriptor & src ) { this->pivotA = src.pivotA; this->axleA = src.axleA; - this->perp2axleina1 = src.perp2axleina1; - this->perp2axleina2 = src.perp2axleina2; + this->perp2AxleInA1 = src.perp2AxleInA1; + this->perp2AxleInA2 = src.perp2AxleInA2; this->pivotB = src.pivotB; this->axleB = src.axleB; - this->perp2axleinb2 = src.perp2axleinb2; + this->perp2AxleInB2 = src.perp2AxleInB2; this->minAngle = src.minAngle; this->maxAngle = src.maxAngle; this->maxFriction = src.maxFriction; diff --git a/src/obj/bhkHingeConstraint.cpp b/src/obj/bhkHingeConstraint.cpp index a2a096347459bd97a1bf1f2780d66b94cdcff723..37e4695d67406e4e6f682e3a41f176b519e62e52 100644 --- a/src/obj/bhkHingeConstraint.cpp +++ b/src/obj/bhkHingeConstraint.cpp @@ -43,8 +43,8 @@ void bhkHingeConstraint::Read( istream& in, list<unsigned int> & link_stack, con bhkConstraint::Read( in, link_stack, info ); NifStream( pivotA, in, info ); - NifStream( perp2axleina1, in, info ); - NifStream( perp2axleina2, in, info ); + NifStream( perp2AxleInA1, in, info ); + NifStream( perp2AxleInA2, in, info ); NifStream( pivotB, in, info ); NifStream( axleB, in, info ); @@ -58,8 +58,8 @@ void bhkHingeConstraint::Write( ostream& out, const map<NiObjectRef,unsigned int bhkConstraint::Write( out, link_map, info ); NifStream( pivotA, out, info ); - NifStream( perp2axleina1, out, info ); - NifStream( perp2axleina2, out, info ); + NifStream( perp2AxleInA1, out, info ); + NifStream( perp2AxleInA2, out, info ); NifStream( pivotB, out, info ); NifStream( axleB, out, info ); @@ -75,8 +75,8 @@ std::string bhkHingeConstraint::asString( bool verbose ) const { unsigned int array_output_count = 0; out << bhkConstraint::asString(); out << " Pivot A: " << pivotA << endl; - out << " Perp2AxleInA1: " << perp2axleina1 << endl; - out << " Perp2AxleInA2: " << perp2axleina2 << endl; + out << " Perp2 Axle In A1: " << perp2AxleInA1 << endl; + out << " Perp2 Axle In A2: " << perp2AxleInA2 << endl; out << " Pivot B: " << pivotB << endl; out << " Axle B: " << axleB << endl; return out.str(); diff --git a/src/obj/bhkLimitedHingeConstraint.cpp b/src/obj/bhkLimitedHingeConstraint.cpp index 9445f5441a049e8614c5d31fe9a0c3333141fd67..cbb1061752f7338e508c6c4cb7c3d66543ec0f4e 100644 --- a/src/obj/bhkLimitedHingeConstraint.cpp +++ b/src/obj/bhkLimitedHingeConstraint.cpp @@ -45,11 +45,11 @@ void bhkLimitedHingeConstraint::Read( istream& in, list<unsigned int> & link_sta bhkConstraint::Read( in, link_stack, info ); NifStream( limitedHinge.pivotA, in, info ); NifStream( limitedHinge.axleA, in, info ); - NifStream( limitedHinge.perp2axleina1, in, info ); - NifStream( limitedHinge.perp2axleina2, in, info ); + NifStream( limitedHinge.perp2AxleInA1, in, info ); + NifStream( limitedHinge.perp2AxleInA2, in, info ); NifStream( limitedHinge.pivotB, in, info ); NifStream( limitedHinge.axleB, in, info ); - NifStream( limitedHinge.perp2axleinb2, in, info ); + NifStream( limitedHinge.perp2AxleInB2, in, info ); NifStream( limitedHinge.minAngle, in, info ); NifStream( limitedHinge.maxAngle, in, info ); NifStream( limitedHinge.maxFriction, in, info ); @@ -65,11 +65,11 @@ void bhkLimitedHingeConstraint::Write( ostream& out, const map<NiObjectRef,unsig bhkConstraint::Write( out, link_map, info ); NifStream( limitedHinge.pivotA, out, info ); NifStream( limitedHinge.axleA, out, info ); - NifStream( limitedHinge.perp2axleina1, out, info ); - NifStream( limitedHinge.perp2axleina2, out, info ); + NifStream( limitedHinge.perp2AxleInA1, out, info ); + NifStream( limitedHinge.perp2AxleInA2, out, info ); NifStream( limitedHinge.pivotB, out, info ); NifStream( limitedHinge.axleB, out, info ); - NifStream( limitedHinge.perp2axleinb2, out, info ); + NifStream( limitedHinge.perp2AxleInB2, out, info ); NifStream( limitedHinge.minAngle, out, info ); NifStream( limitedHinge.maxAngle, out, info ); NifStream( limitedHinge.maxFriction, out, info ); @@ -87,11 +87,11 @@ std::string bhkLimitedHingeConstraint::asString( bool verbose ) const { out << bhkConstraint::asString(); out << " Pivot A: " << limitedHinge.pivotA << endl; out << " Axle A: " << limitedHinge.axleA << endl; - out << " Perp2AxleInA1: " << limitedHinge.perp2axleina1 << endl; - out << " Perp2AxleInA2: " << limitedHinge.perp2axleina2 << endl; + out << " Perp2 Axle In A1: " << limitedHinge.perp2AxleInA1 << endl; + out << " Perp2 Axle In A2: " << limitedHinge.perp2AxleInA2 << endl; out << " Pivot B: " << limitedHinge.pivotB << endl; out << " Axle B: " << limitedHinge.axleB << endl; - out << " Perp2AxleInB2: " << limitedHinge.perp2axleinb2 << endl; + out << " Perp2 Axle In B2: " << limitedHinge.perp2AxleInB2 << endl; out << " Min Angle: " << limitedHinge.minAngle << endl; out << " Max Angle: " << limitedHinge.maxAngle << endl; out << " Max Friction: " << limitedHinge.maxFriction << endl; diff --git a/src/obj/bhkMalleableConstraint.cpp b/src/obj/bhkMalleableConstraint.cpp index 697b9397c332f4835aeeba54155653a4dcd5bbb1..407be4a64426e44cd7118c96e1371d39478ea44c 100644 --- a/src/obj/bhkMalleableConstraint.cpp +++ b/src/obj/bhkMalleableConstraint.cpp @@ -70,11 +70,11 @@ void bhkMalleableConstraint::Read( istream& in, list<unsigned int> & link_stack, if ( (type == 2) ) { NifStream( limitedHinge.pivotA, in, info ); NifStream( limitedHinge.axleA, in, info ); - NifStream( limitedHinge.perp2axleina1, in, info ); - NifStream( limitedHinge.perp2axleina2, in, info ); + NifStream( limitedHinge.perp2AxleInA1, in, info ); + NifStream( limitedHinge.perp2AxleInA2, in, info ); NifStream( limitedHinge.pivotB, in, info ); NifStream( limitedHinge.axleB, in, info ); - NifStream( limitedHinge.perp2axleinb2, in, info ); + NifStream( limitedHinge.perp2AxleInB2, in, info ); NifStream( limitedHinge.minAngle, in, info ); NifStream( limitedHinge.maxAngle, in, info ); NifStream( limitedHinge.maxFriction, in, info ); @@ -129,11 +129,11 @@ void bhkMalleableConstraint::Write( ostream& out, const map<NiObjectRef,unsigned if ( (type == 2) ) { NifStream( limitedHinge.pivotA, out, info ); NifStream( limitedHinge.axleA, out, info ); - NifStream( limitedHinge.perp2axleina1, out, info ); - NifStream( limitedHinge.perp2axleina2, out, info ); + NifStream( limitedHinge.perp2AxleInA1, out, info ); + NifStream( limitedHinge.perp2AxleInA2, out, info ); NifStream( limitedHinge.pivotB, out, info ); NifStream( limitedHinge.axleB, out, info ); - NifStream( limitedHinge.perp2axleinb2, out, info ); + NifStream( limitedHinge.perp2AxleInB2, out, info ); NifStream( limitedHinge.minAngle, out, info ); NifStream( limitedHinge.maxAngle, out, info ); NifStream( limitedHinge.maxFriction, out, info ); @@ -174,11 +174,11 @@ std::string bhkMalleableConstraint::asString( bool verbose ) const { if ( (type == 2) ) { out << " Pivot A: " << limitedHinge.pivotA << endl; out << " Axle A: " << limitedHinge.axleA << endl; - out << " Perp2AxleInA1: " << limitedHinge.perp2axleina1 << endl; - out << " Perp2AxleInA2: " << limitedHinge.perp2axleina2 << endl; + out << " Perp2 Axle In A1: " << limitedHinge.perp2AxleInA1 << endl; + out << " Perp2 Axle In A2: " << limitedHinge.perp2AxleInA2 << endl; out << " Pivot B: " << limitedHinge.pivotB << endl; out << " Axle B: " << limitedHinge.axleB << endl; - out << " Perp2AxleInB2: " << limitedHinge.perp2axleinb2 << endl; + out << " Perp2 Axle In B2: " << limitedHinge.perp2AxleInB2 << endl; out << " Min Angle: " << limitedHinge.minAngle << endl; out << " Max Angle: " << limitedHinge.maxAngle << endl; out << " Max Friction: " << limitedHinge.maxFriction << endl;