mirror of
https://github.com/love2d/love.git
synced 2026-08-16 00:02:12 +02:00
Better ChainShape API consistency
--HG-- branch : box2d-update
This commit is contained in:
@@ -89,13 +89,13 @@ namespace box2d
|
||||
* @param index The index of the vertex.
|
||||
* @returns The specified vertex.
|
||||
**/
|
||||
b2Vec2 getVertex(int index) const;
|
||||
b2Vec2 getPoint(int index) const;
|
||||
|
||||
/**
|
||||
* Returns all of the vertices.
|
||||
* @returns The vertices the shape comprises.
|
||||
**/
|
||||
const b2Vec2 * getVertices() const;
|
||||
const b2Vec2 * getPoints() const;
|
||||
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user