module power.experiments.aligntest
Code Map
module power.experiments.aligntest;
enum vertexShader120;
enum fragmentShader120;
class AlignTest : scene.Simple
{
public:
x: i32;
y: i32;
lookX: i32;
lookY: i32;
offsetX: i32;
offsetY: i32;
buf: gfx.DrawBuffer;
testShader: gfx.Shader;
public:
this(g: scene.Manager) { }
fn close() { }
fn mouseMove(m: ctl.Mouse, i32, i32) { }
fn mouseDown(m: ctl.Mouse, button: i32) { }
fn mouseUp(m: ctl.Mouse, button: i32) { }
fn keyDown(ctl.Keyboard, keycode: i32) { }
fn render(t: gfx.Target, viewInfo: gfx.ViewInfo) { }
fn drawLevel(level: i32) { }
}
fn calcAlign(pos: i32, level: i32) i32 { }
fn getColor(c: u32) math.Color4b { }