2024-04-11 23:03:39 +00:00
|
|
|
package component:witguest;
|
|
|
|
|
2024-04-12 06:05:10 +00:00
|
|
|
interface math {
|
|
|
|
record vec3 {
|
|
|
|
x: f32,
|
|
|
|
y: f32,
|
|
|
|
z: f32,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-04-11 23:03:39 +00:00
|
|
|
/// An example world for the component to target.
|
|
|
|
world example {
|
2024-04-12 06:05:10 +00:00
|
|
|
import math;
|
|
|
|
|
|
|
|
import host-print: func(msg: string);
|
2024-04-14 23:34:07 +00:00
|
|
|
export on-init: func() -> result;
|
2024-04-11 23:03:39 +00:00
|
|
|
}
|