Fixing some compiler warnings in starfield

This commit is contained in:
Philip Rosedale 2013-04-10 12:19:05 -07:00
parent 84456ac9af
commit 57724cb569
2 changed files with 3 additions and 3 deletions

View file

@ -99,8 +99,8 @@ namespace starfield {
_valLodOveralloc(1.2),
_valLodNalloc(0),
_valLodNrender(0),
_valLodBrightness(0),
_valLodAllocBrightness(0),
_valLodBrightness(0),
_ptrRenderer(0l) {
}

View file

@ -26,8 +26,8 @@ namespace starfield {
InputVertex(float azimuth, float altitude, unsigned color) {
_valColor = color >> 16 & 0xffu | color & 0xff00u |
color << 16 & 0xff0000u | 0xff000000u;
_valColor = (color >> 16 & 0xffu) | (color & 0xff00u) |
(color << 16 & 0xff0000u) | 0xff000000u;
azimuth = angleConvert<Degrees,Radians>(azimuth);
altitude = angleConvert<Degrees,Radians>(altitude);