mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-04 18:51:17 -06:00
Added copy constructor to PowercaledCoordinate class
This commit is contained in:
@@ -44,6 +44,7 @@ public:
|
||||
PowerScaledCoordinate();
|
||||
|
||||
PowerScaledCoordinate(PowerScaledCoordinate&& rhs);
|
||||
PowerScaledCoordinate(const PowerScaledCoordinate& rhs);
|
||||
|
||||
// Sets the power scaled coordinates directly
|
||||
PowerScaledCoordinate(glm::vec4 v);
|
||||
|
||||
@@ -63,6 +63,11 @@ PowerScaledCoordinate::PowerScaledCoordinate(float f1, float f2, float f3, float
|
||||
_vec = glm::vec4(f1, f2, f3, f4);
|
||||
}
|
||||
|
||||
PowerScaledCoordinate::PowerScaledCoordinate(const PowerScaledCoordinate& rhs) {
|
||||
_vec = rhs._vec;
|
||||
|
||||
}
|
||||
|
||||
PowerScaledCoordinate
|
||||
PowerScaledCoordinate::CreatePowerScaledCoordinate(double d1, double d2, double d3)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user