Added reverse implicit operator to sunPoint
This commit is contained in:
parent
4a1f0ec855
commit
e90ecf89a8
1 changed files with 3 additions and 0 deletions
|
@ -439,6 +439,9 @@ namespace arookas {
|
|||
mOffset = offset;
|
||||
}
|
||||
|
||||
public static implicit operator sunPoint(uint offset) {
|
||||
return new sunPoint(offset);
|
||||
}
|
||||
public static implicit operator uint(sunPoint point) {
|
||||
return point.mOffset;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue