mirror of
https://github.com/exoticorn/curlywas.git
synced 2026-11-13 19:17:19 +01:00
implement support for start function
This commit is contained in:
1 parent
29b8c04700
commit
e23b98c1ab
6 files changed
+53
-22
No files matched your search
@@ -5,7 +5,7 @@ import "env.sin" fn sin(f32) -> f32;
|
||||
import "env.cls" fn cls(i32);
|
||||
|
||||
export fn tic(time: i32) {
|
||||
cls(0);
|
||||
cls(32);
|
||||
let i: i32;
|
||||
loop outer {
|
||||
let lazy fi = i as f32 / 4 as f32;
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
import "env.memory" memory(4);
|
||||
import "env.sin" fn sin(f32) -> f32;
|
||||
import "env.atan2" fn atan2(f32, f32) -> f32;
|
||||
|
||||
export fn tic(time: i32) {
|
||||
let i: i32;
|
||||
|
||||
Reference in new issue
Block a user