mirror of
https://github.com/CompeyDev/lei.git
synced 2024-12-12 12:50:42 +00:00
14 lines
368 B
Go
14 lines
368 B
Go
//go:build LUAU_VECTOR4
|
|
|
|
package internal
|
|
|
|
/*
|
|
#cgo CFLAGS: -Iluau/VM/include -I/usr/lib/gcc/x86_64-pc-linux-gnu/14.1.1/include
|
|
#cgo LDFLAGS: -L${SRCDIR}/luau/cmake -lLuau.VM -lm -lstdc++
|
|
#include <lua.h>
|
|
*/
|
|
import "C"
|
|
|
|
func PushVector(L *C.lua_State, x float32, y float32, z float32, w float32) {
|
|
C.lua_pushvector(L, C.float(x), C.float(y), C.float(z), C.float(w))
|
|
}
|