Browse Source

Added newQuad.

rude 15 years ago
parent
commit
ec41545933

+ 1 - 0
src/modules/graphics/opengl/wrap_Graphics.h

@@ -51,6 +51,7 @@ namespace opengl
 	int w_getScissor(lua_State * L);
 	int w_newImage(lua_State * L);
 	int w_newGlyph(lua_State * L);
+	int w_newQuad(lua_State * L);
 	int w_newFrame(lua_State * L);
 	int w_newFont1(lua_State * L);
 	int w_newImageFont(lua_State * L);

+ 1 - 1
src/modules/physics/box2d/Physics.h

@@ -134,7 +134,7 @@ namespace box2d
 		* @param y The offset along the y-axis.
 		* @param w The width of the rectangle.
 		* @param h The height of the rectangle.
-		* @param angle The angle of the rectangle. (deg)
+		* @param angle The angle of the rectangle. (rad)
 		**/
 		PolygonShape * newRectangleShape(Body * body, float x, float y, float w, float h, float angle);