Ruby support #1

Open
jaroslaw wants to merge 165 commits from ruby into main
6 changed files with 18 additions and 1 deletions
Showing only changes of commit 015c1827ef - Show all commits

View file

@ -0,0 +1,3 @@
fn test_func() {
rust_func(entity.index);
}

View file

@ -0,0 +1,5 @@
let index = entity.index;
fn test_func() {
rust_func(index);
}

View file

@ -0,0 +1,3 @@
fn test_func() {
rust_func(entity);
}

View file

@ -0,0 +1,3 @@
fn test_func() {
rust_func(new_vec3(1.5, 2.5, -3.5));
}

View file

@ -0,0 +1,4 @@
fn test_func(vec3) {
// TODO: asser vec3 correctness
mark_success()
}

View file

@ -1,6 +1,5 @@
$index = $entity.index
def test_func
print($index)
rust_func($index)
end