Renaming to LiME
This commit is contained in:
@@ -1,16 +1,16 @@
|
||||
|
||||
import nmegl.utils.Assets;
|
||||
import nmegl.NMEGL;
|
||||
import lime.utils.Assets;
|
||||
import lime.LiME;
|
||||
|
||||
//Import GL stuff from nme
|
||||
import nmegl.gl.GL;
|
||||
import nmegl.gl.GLBuffer;
|
||||
import nmegl.gl.GLProgram;
|
||||
import nmegl.gl.GLShader;
|
||||
import lime.gl.GL;
|
||||
import lime.gl.GLBuffer;
|
||||
import lime.gl.GLProgram;
|
||||
import lime.gl.GLShader;
|
||||
|
||||
//utils
|
||||
import nmegl.utils.Float32Array;
|
||||
import nmegl.geometry.Matrix3D;
|
||||
import lime.utils.Float32Array;
|
||||
import lime.geometry.Matrix3D;
|
||||
|
||||
|
||||
//import the shader code for the examples
|
||||
@@ -38,7 +38,7 @@ import shaders.VertexShader;
|
||||
|
||||
class Main {
|
||||
|
||||
public var lib : NMEGL;
|
||||
public var lib : LiME;
|
||||
|
||||
//The list of shaders to cycle through
|
||||
|
||||
@@ -99,16 +99,16 @@ class Main {
|
||||
|
||||
public function new() {}
|
||||
|
||||
public function ready( _nmegl : NMEGL ) {
|
||||
public function ready( _lime : LiME ) {
|
||||
|
||||
lib = _nmegl;
|
||||
lib = _lime;
|
||||
|
||||
// Init the shaders and view
|
||||
init();
|
||||
|
||||
}
|
||||
|
||||
//called each frame by NMEGL for logic (called before render)
|
||||
//called each frame by lime for logic (called before render)
|
||||
public function update() {
|
||||
|
||||
var time = haxe.Timer.stamp() - startTime;
|
||||
@@ -127,7 +127,7 @@ class Main {
|
||||
|
||||
}
|
||||
|
||||
//Called each frame by NMEGL
|
||||
//Called each frame by lime
|
||||
public function render() {
|
||||
|
||||
GL.viewport( 0, 0, lib.config.width, lib.config.height );
|
||||
|
||||
Reference in New Issue
Block a user