Browse Source

GetRotationInConstraintSpace is not an inline function

Jorrit Rouwe 1 year ago
parent
commit
5558669f50
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Jolt/Physics/Constraints/SwingTwistConstraint.h

+ 1 - 1
Jolt/Physics/Constraints/SwingTwistConstraint.h

@@ -139,7 +139,7 @@ public:
 
 	/// Get current rotation of constraint in constraint space.
 	/// Solve: R2 * ConstraintToBody2 = R1 * ConstraintToBody1 * q for q.
-	inline Quat					GetRotationInConstraintSpace() const;
+	Quat						GetRotationInConstraintSpace() const;
 
 	///@name Get Lagrange multiplier from last physics update (the linear/angular impulse applied to satisfy the constraint)
 	inline Vec3		 			GetTotalLambdaPosition() const								{ return mPointConstraintPart.GetTotalLambda(); }