meshes and colors

This commit is contained in:
2020-05-29 15:32:24 -04:00
parent 8d8a90f29a
commit 3192682853
19 changed files with 492 additions and 54 deletions
@@ -0,0 +1,19 @@
package org.hl.engine.objects;
import org.hl.engine.math.lalg.Vector3f;
public class FixedCamera extends Camera {
public FixedCamera(Vector3f position, Vector3f rotation) {
super(position, rotation);
}
@Override
public void setRotation(Vector3f rotation) throws Exception {
throw new Exception("You cannot rotate a fixed camera! ");
}
@Override
public void setPosition(Vector3f rotation) throws Exception {
throw new Exception("You cannot move a fixed camera! ");
}
}