This repository has been archived on 2022-06-25. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
helium/src/org/hl/engine/objects/FixedCamera.java
T
2020-05-29 15:32:24 -04:00

20 lines
486 B
Java

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! ");
}
}