new documentation and some fixes in code
This commit is contained in:
28
docs/lua/Vectors.lua
Normal file
28
docs/lua/Vectors.lua
Normal file
@@ -0,0 +1,28 @@
|
||||
-- luacheck: ignore 111
|
||||
|
||||
--[[--
|
||||
Class providing vector functionality.
|
||||
These are the XNA Vectors, you can find all the functions and fields here: <br>
|
||||
<a href="https://docs.microsoft.com/en-us/previous-versions/windows/silverlight/dotnet-windows-silverlight/bb199660(v=xnagamestudio.35">XNA Vector2</a> <br>
|
||||
<a href="https://docs.microsoft.com/en-us/previous-versions/windows/silverlight/dotnet-windows-silverlight/bb199670(v=xnagamestudio.35">XNA Vector3</a> <br>
|
||||
<a href="https://docs.microsoft.com/en-us/previous-versions/windows/silverlight/dotnet-windows-silverlight/bb199679(v=xnagamestudio.35">XNA Vector4</a> <br>
|
||||
|
||||
Access them via Vector2.\*, Vector3.\*, Vector4.\* <br>
|
||||
CreateVector2, CreateVector3, CreateVector4 are globals.
|
||||
]]
|
||||
-- @code Vectors
|
||||
|
||||
--- Create Vector2
|
||||
-- @treturn Vector2
|
||||
-- @realm shared
|
||||
function CreateVector2(path) end
|
||||
|
||||
--- Create Vector3
|
||||
-- @treturn Vector3
|
||||
-- @realm shared
|
||||
function CreateVector2(path) end
|
||||
|
||||
--- Create Vector4
|
||||
-- @treturn Vector4
|
||||
-- @realm shared
|
||||
function CreateVector2(path) end
|
||||
Reference in New Issue
Block a user