Rename GetWorldPointVelocity to Body_GetWorldPointVelocity

This commit is contained in:
Jeroen van Rijn
2026-03-02 20:15:55 +01:00
committed by GitHub
parent a4ee06ca75
commit 38c61e06be

View File

@@ -773,7 +773,7 @@ foreign lib {
Body_GetLocalPointVelocity :: proc(bodyId: BodyId, localPoint: Vec2) -> Vec2 ---
// Get the linear velocity of a world point attached to a body. Usually in meters per second.
GetWorldPointVelocity :: proc(bodyId: BodyId, worldPoint: Vec2) -> Vec2 ---
Body_GetWorldPointVelocity :: proc(bodyId: BodyId, worldPoint: Vec2) -> Vec2 ---
// Apply a force at a world point. If the force is not applied at the center of mass,
// it will generate a torque and affect the angular velocity. This optionally wakes up the body.