Added reverse implicit operator to sunPoint

This commit is contained in:
arookas 2016-02-07 01:04:29 -05:00
parent 4a1f0ec855
commit e90ecf89a8

View file

@ -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;
}