From ec41545933bf0238fae0c0ac3510591dbd1f97de Mon Sep 17 00:00:00 2001 From: rude Date: Thu, 10 Dec 2009 22:38:26 +0100 Subject: [PATCH] Added newQuad. --- src/modules/graphics/opengl/wrap_Graphics.h | 1 + src/modules/physics/box2d/Physics.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/modules/graphics/opengl/wrap_Graphics.h b/src/modules/graphics/opengl/wrap_Graphics.h index 78b237867..9687cc18a 100644 --- a/src/modules/graphics/opengl/wrap_Graphics.h +++ b/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); diff --git a/src/modules/physics/box2d/Physics.h b/src/modules/physics/box2d/Physics.h index 6075982b5..95290c9d6 100644 --- a/src/modules/physics/box2d/Physics.h +++ b/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);