Newer
Older
AlgebraicDataflowArchitectureModel / GameEngine / src / main / java / gameEngine / entites / Camera.java
  1. package gameEngine.entites;
  2.  
  3. public class Camera extends Entity{
  4.  
  5. public enum ProjectionType{
  6. PERSPECTIVE, //透視投影
  7. ORTHOGRAPHIC, //平行投影
  8. }
  9.  
  10. private final ProjectionType projection;
  11.  
  12. public Camera(String id, ProjectionType projection){
  13. super(id);
  14. this.projection = projection;
  15. }
  16.  
  17. }