package hirondelle.starfield.projection;
public enum Projector {
STEREOSCOPIC(true, new StereoscopicProjection()),
MCKINLEY(true, new MckinleyProjection()),
EQUIRECTANGULAR(false, new EquiRectangularProjection()),
BEHRMANN(false, new BehrmannProjection()),
HAMMER(false, new HammerProjection());
public boolean isHalfSky(){
return fIsHalfSky;
}
public Projection getProjection() { return fProjection; }
private Projector(boolean aIsHalfSky, Projection aProjection){
fIsHalfSky = aIsHalfSky;
fProjection = aProjection;
}
private boolean fIsHalfSky;
private Projection fProjection;
}