include("camera.snf");

model = Model("../Models/silla06.obj");
model.castShadows = true;
q = Model("../Models/quad.obj");

r = rotate(0, 0, 1, 0);

scene =
Group(
	Group(
		rotate(-90, 1, 0, 0),
		rotate(45, 0, 0, 1),
		model
	),
	Group(

	//	rotate(45, 0, 0, 1),
		translate(0, -0.5, 0),
		rotate(-90, 1, 0, 0),
		scale(5, 5, 5),
		q
	),
	r,
	translate(3, 5, 0),
	Light()
);

def f() {
  a = r.getAngle();
  r.setAngle(a + 1);
}

Timer(10, -1, f(), f());

// include("Data/Scenes/silla.snf");