update
This commit is contained in:
13
macro_lnxpack/Sources/lnx/Game.hx
Normal file
13
macro_lnxpack/Sources/lnx/Game.hx
Normal file
@ -0,0 +1,13 @@
|
||||
package lnx;
|
||||
|
||||
import iron.math.Vec4;
|
||||
|
||||
@:build(lnx.Macros.build())
|
||||
class Game extends iron.Trait {
|
||||
|
||||
function update() {
|
||||
Cube.transform.rotate( Vec4.zAxis(), 0.01 );
|
||||
Icosphere.transform.rotate( Vec4.yAxis(), 0.01 );
|
||||
Torus.transform.rotate( Vec4.xAxis(), 0.01 );
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user