mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-07 16:18:52 +00:00
vendor:box2d add targetAngle to RevoluteJoint struct/procs
This commit is contained in:
Vendored
+6
@@ -1562,6 +1562,12 @@ foreign lib {
|
||||
// Get the revolute joint spring damping ratio, non-dimensional
|
||||
RevoluteJoint_GetSpringDampingRatio :: proc(jointId: JointId) -> f32 ---
|
||||
|
||||
// Set the revolute joint spring target angle, radians
|
||||
RevoluteJoint_SetTargetAngle :: proc(jointId: JointId, angle: f32) ---
|
||||
|
||||
// Get the revolute joint spring target angle, radians
|
||||
RevoluteJoint_GetTargetAngle :: proc(jointId: JointId) -> f32 ---
|
||||
|
||||
// Get the revolute joint current angle in radians relative to the reference angle
|
||||
// @see b2RevoluteJointDef::referenceAngle
|
||||
RevoluteJoint_GetAngle :: proc(jointId: JointId) -> f32 ---
|
||||
|
||||
Reference in New Issue
Block a user