mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-06 03:29:44 -06:00
Merge branch 'feature/screenspaceimage' of github.com:OpenSpace/OpenSpace-Development into feature/screenspaceimage
This commit is contained in:
@@ -66,18 +66,6 @@ public:
|
||||
glm::vec2 sphericalPosition() const {return _sphericalPosition.value();};
|
||||
float depth() const {return _depth.value();};
|
||||
|
||||
void move(glm::vec2 v){
|
||||
if(_useFlatScreen.value()){
|
||||
glm::vec2 pos = _euclideanPosition.value();
|
||||
pos += v;
|
||||
_euclideanPosition.set(pos);
|
||||
}else{
|
||||
glm::vec2 pos = _sphericalPosition.value();
|
||||
pos += v;
|
||||
_sphericalPosition.set(pos);
|
||||
}
|
||||
};
|
||||
|
||||
protected:
|
||||
void createPlane();
|
||||
void useEuclideanCoordinates(bool b);
|
||||
|
||||
Reference in New Issue
Block a user