Compare commits
2 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
780e698cbd | ||
|
|
be536a0dc7 |
1 changed files with 2 additions and 2 deletions
|
|
@ -27,7 +27,7 @@ GCheckbox printSerialCheckbox;
|
||||||
|
|
||||||
void setup()
|
void setup()
|
||||||
{
|
{
|
||||||
size(400, 500, OPENGL);
|
size(400, 550, OPENGL);
|
||||||
frameRate(30);
|
frameRate(30);
|
||||||
model = new OBJModel(this);
|
model = new OBJModel(this);
|
||||||
model.load("bunny.obj");
|
model.load("bunny.obj");
|
||||||
|
|
@ -79,7 +79,7 @@ void draw()
|
||||||
pointLight(255, 255, 255, 0, 0, -500);
|
pointLight(255, 255, 255, 0, 0, -500);
|
||||||
|
|
||||||
// Displace objects from 0,0
|
// Displace objects from 0,0
|
||||||
translate(200, 350, 0);
|
translate(200, 300, 0);
|
||||||
|
|
||||||
// Rotate shapes around the X/Y/Z axis (values in radians, 0..Pi*2)
|
// Rotate shapes around the X/Y/Z axis (values in radians, 0..Pi*2)
|
||||||
rotateX(radians(roll));
|
rotateX(radians(roll));
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue