Newer
Older
AlgebraicDataflowArchitectureModel / GameEngine / src / main / java / gameEngine / entites / Camera.java
package gameEngine.entites;

public class Camera extends Entity{

    public enum ProjectionType{
        PERSPECTIVE, //透視投影
        ORTHOGRAPHIC, //平行投影
    }

    private final ProjectionType projection;

    public Camera(int id, ProjectionType projection){
        super(id);
        this.projection = projection;
    }

}