mirror of
https://github.com/love2d/love.git
synced 2026-08-15 15:51:12 +02:00
Fixed some internal documentation (thanks to clang's -Wdocumentation)
This commit is contained in:
+3
-3
@@ -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);
|
||||
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user