kopia lustrzana https://github.com/jameshball/osci-render
code cleanup (untested)
rodzic
b6ab9cf586
commit
012fa1c71c
|
@ -13,9 +13,9 @@ public class AudioClient {
|
|||
AudioPlayer player = new AudioPlayer();
|
||||
AudioPlayer.FORMAT = AudioPlayer.defaultFormat(SAMPLE_RATE);
|
||||
|
||||
Camera camera = new Camera(0.6, new Vector3(0, 0, -2));
|
||||
Camera camera = new Camera(0.6, new Vector3(0, 0, -2.5));
|
||||
WorldObject cube = new WorldObject(args[0], new Vector3(0, 0, 0), new Vector3());
|
||||
Vector3 rotation = new Vector3(0,Math.PI / 100,0);
|
||||
Vector3 rotation = new Vector3(0,Math.PI / 100,Math.PI / 100);
|
||||
|
||||
player.start();
|
||||
AudioPlayer.setScale(0.5);
|
||||
|
|
|
@ -4,7 +4,6 @@ import java.util.ArrayList;
|
|||
import java.util.List;
|
||||
|
||||
public class WorldObject {
|
||||
|
||||
private Mesh mesh;
|
||||
private Vector3 position;
|
||||
private Vector3 rotation;
|
||||
|
|
Ładowanie…
Reference in New Issue