raylua v3.1-dev1
This commit is contained in:
parent
f0aeb8da0e
commit
c638c0d813
|
@ -14,19 +14,6 @@
|
||||||
CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||||
]]
|
]]
|
||||||
|
|
||||||
-- LoadImageEx removed function
|
|
||||||
rawset(rl, "LoadImageEx", function (pixels, width, height)
|
|
||||||
local image = rl.new "Image"
|
|
||||||
image.width = width
|
|
||||||
image.height = height
|
|
||||||
image.data = pixels
|
|
||||||
image.format = rl.UNCOMPRESSED_R8G8B8A8
|
|
||||||
return image
|
|
||||||
end)
|
|
||||||
|
|
||||||
-- rlUnproject moved to Vector3Unproject
|
|
||||||
rawset(rl, "rlUnproject", rl.Vector3Unproject)
|
|
||||||
|
|
||||||
-- math metamethods
|
-- math metamethods
|
||||||
local new = ffi.new
|
local new = ffi.new
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
|
|
||||||
local load = loadstring
|
local load = loadstring
|
||||||
|
|
||||||
raylua.version = "v3.0f"
|
raylua.version = "v3.1-dev1"
|
||||||
|
|
||||||
function raylua.repl()
|
function raylua.repl()
|
||||||
print("> raylua " .. raylua.version .. " <")
|
print("> raylua " .. raylua.version .. " <")
|
||||||
|
|
Loading…
Reference in New Issue