mirror of
https://github.com/ctruLua/ctruLua.git
synced 2025-10-28 08:49:30 +00:00
Fix documentation
This commit is contained in:
parent
b47971bfca
commit
3303e9783d
1 changed files with 8 additions and 8 deletions
|
|
@ -235,7 +235,7 @@ static int gfx_line(lua_State *L) {
|
||||||
}
|
}
|
||||||
|
|
||||||
/***
|
/***
|
||||||
Draw a triangle on the current screen.
|
Draw a filled triangle on the current screen.
|
||||||
@function triangle
|
@function triangle
|
||||||
@tparam integer x1 horizontal coordinate of a vertex of the triangle, in pixels
|
@tparam integer x1 horizontal coordinate of a vertex of the triangle, in pixels
|
||||||
@tparam integer y1 vertical coordinate of a vertex of the triangle, in pixels
|
@tparam integer y1 vertical coordinate of a vertex of the triangle, in pixels
|
||||||
|
|
@ -261,8 +261,8 @@ static int gfx_triangle(lua_State *L) {
|
||||||
}
|
}
|
||||||
|
|
||||||
/***
|
/***
|
||||||
Draw a triangle on the current screen.
|
Draw a triangle outline on the current screen.
|
||||||
@function triangle
|
@function linedTriangle
|
||||||
@tparam integer x1 horizontal coordinate of a vertex of the triangle, in pixels
|
@tparam integer x1 horizontal coordinate of a vertex of the triangle, in pixels
|
||||||
@tparam integer y1 vertical coordinate of a vertex of the triangle, in pixels
|
@tparam integer y1 vertical coordinate of a vertex of the triangle, in pixels
|
||||||
@tparam integer x2 horizontal coordinate of a vertex of the triangle, in pixels
|
@tparam integer x2 horizontal coordinate of a vertex of the triangle, in pixels
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue