fixed compile all classes define + flxview3d check
This commit is contained in:
@@ -15,6 +15,12 @@ import away3d.loaders.Loader3D;
|
||||
// FlxView3D with helpers for easier updating
|
||||
|
||||
class Flx3DView extends FlxView3D {
|
||||
|
||||
public function new(x:Float = 0, y:Float = 0, width:Int = -1, height:Int = -1, scale:Float = 1) {
|
||||
if (!Flx3DUtil.is3DAvailable())
|
||||
throw "[Flx3DView] 3D is not available on this platform.";
|
||||
super(x, y, width, height, scale);
|
||||
}
|
||||
public function initLoader() {
|
||||
if (_loader != null) return;
|
||||
_loader = new Loader3D();
|
||||
|
||||
Reference in New Issue
Block a user