예제 #1
0
 public FakeGIEngine(Options options)
 {
     up = options.getVector("gi.fake.up", new Vector3(0, 1, 0)).normalize();
     sky = options.getColor("gi.fake.sky", Color.WHITE).copy();
     ground = options.getColor("gi.fake.ground", Color.BLACK).copy();
     sky.mul((float)Math.PI);
     ground.mul((float)Math.PI);
 }
예제 #2
0
 public bool init(Options options, Scene scene)
 {
     up = options.getVector("gi.fake.up", new Vector3(0, 1, 0)).normalize();
     sky = options.getColor("gi.fake.sky", Color.WHITE).copy();
     ground = options.getColor("gi.fake.ground", Color.BLACK).copy();
     sky.mul((float) Math.PI);
     ground.mul((float) Math.PI);
     return true;
 }