Fixed some internal documentation (thanks to clang's -Wdocumentation)

This commit is contained in:
Alex Szpakowski
2013-09-23 21:52:28 -03:00
parent 06f2ec8e31
commit 8d5ddb9e34
18 changed files with 71 additions and 85 deletions
+3 -3
View File
@@ -81,7 +81,7 @@ public:
/**
* Gets a vector perpendicular to the Vector.
* To get the true (normalized) normal, use v.getNormal(1.0f / v.getLength())
* @param Scale factor to apply.
* @param scale factor to apply.
* @return A normal to the Vector.
**/
Vector getNormal(float scale) const;
@@ -173,13 +173,13 @@ public:
/**
* Sets the x value of the Vector.
* @param The x value of the Vector.
* @param x The x value of the Vector.
**/
void setX(float x);
/**
* Sets the x value of the Vector.
* @param The x value of the Vector.
* @param y The x value of the Vector.
**/
void setY(float y);
+1 -1
View File
@@ -463,7 +463,7 @@ T *luax_optmodule(lua_State *L, const char *k, love::bits type)
* @param type The type bit.
**/
template <typename T>
T *luax_totype(lua_State *L, int idx, const char *, love::bits)
T *luax_totype(lua_State *L, int idx, const char * /* name */, love::bits /* type */)
{
return (T *)(((Proxy *)lua_touserdata(L, idx))->data);
}