Fixed c-casts and usage of default types in pos class
Some small changes
Merge github.com:GlenDC/StarEngine