예제 #1
0
		public static Vector3D MatrixToEulerAngle(Matrix3D pMatrix)
		{
			NewtonVector3 aNewtonVector3 = new NewtonVector3( new Vector3D() );
			Newton.NewtonGetEulerAngle(new NewtonMatrix(pMatrix).NWMatrix,
				aNewtonVector3.NWVector3);
			return aNewtonVector3.ToDirectX();
		}
예제 #2
0
        public Vector3D GetContactForce()
        {
            NewtonVector3 aForce = new NewtonVector3(new Vector3D());

            Newton.NewtonMaterialGetContactForce(m_Handle, aForce.NWVector3);
            return(aForce.ToDirectX());
        }
예제 #3
0
        public static Vector3D MatrixToEulerAngle(Matrix3D pMatrix)
        {
            NewtonVector3 aNewtonVector3 = new NewtonVector3(new Vector3D());

            Newton.NewtonGetEulerAngle(new NewtonMatrix(pMatrix).NWMatrix,
                                       aNewtonVector3.NWVector3);
            return(aNewtonVector3.ToDirectX());
        }
예제 #4
0
		public Vector3D GetContactForce()
		{
			NewtonVector3 aForce = new NewtonVector3(new Vector3D());
			Newton.NewtonMaterialGetContactForce(m_Handle, aForce.NWVector3);
			return aForce.ToDirectX();
		}