add rope
This commit is contained in:
		| @@ -103,7 +103,7 @@ public: | ||||
| 		if (key == GLFW_KEY_X) | ||||
| 		{ | ||||
| 			b3Quat qx(b3Vec3(1.0f, 0.0f, 0.0f), 0.05f * B3_PI); | ||||
| 			b3Mat33 xfx = b3ConvertQuatToMat(qx); | ||||
| 			b3Mat33 xfx = b3QuatMat33(qx); | ||||
|  | ||||
| 			m_xfB.rotation = m_xfB.rotation * xfx; | ||||
| 		} | ||||
| @@ -111,7 +111,7 @@ public: | ||||
| 		if (key == GLFW_KEY_Y) | ||||
| 		{ | ||||
| 			b3Quat qy(b3Vec3(0.0f, 1.0f, 0.0f), 0.05f * B3_PI); | ||||
| 			b3Mat33 xfy = b3ConvertQuatToMat(qy); | ||||
| 			b3Mat33 xfy = b3QuatMat33(qy); | ||||
|  | ||||
| 			m_xfB.rotation = m_xfB.rotation * xfy; | ||||
| 		} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user