mirror of
https://github.com/love2d/love.git
synced 2026-08-16 16:20:42 +02:00
Expose axis vector of PrismaticJoint and WheelJoint (fixes #1176)
This commit is contained in:
@@ -114,6 +114,13 @@ public:
|
||||
**/
|
||||
float getSpringDampingRatio() const;
|
||||
|
||||
/**
|
||||
* Gets the axis unit vector, relative to body1.
|
||||
* @returns The X component of the axis unit vector.
|
||||
* @returns The Y component of the axis unit vector.
|
||||
**/
|
||||
int getAxis(lua_State *L);
|
||||
|
||||
private:
|
||||
|
||||
// The Box2D wheel joint object.
|
||||
|
||||
Reference in New Issue
Block a user