mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 03:37:49 +02:00
fix warnings produced by starfield additions
This commit is contained in:
parent
ec520752f1
commit
de358d4bf6
3 changed files with 5 additions and 5 deletions
|
@ -99,8 +99,8 @@ namespace starfield {
|
||||||
_valLodOveralloc(1.2),
|
_valLodOveralloc(1.2),
|
||||||
_valLodNalloc(0),
|
_valLodNalloc(0),
|
||||||
_valLodNrender(0),
|
_valLodNrender(0),
|
||||||
_valLodBrightness(0),
|
|
||||||
_valLodAllocBrightness(0),
|
_valLodAllocBrightness(0),
|
||||||
|
_valLodBrightness(0),
|
||||||
_ptrRenderer(0l) {
|
_ptrRenderer(0l) {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -50,8 +50,8 @@ namespace starfield {
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
fprintf(stderr, "Stars.cpp: read %d stars, rendering %d\n",
|
fprintf(stderr, "Stars.cpp: read %d stars, rendering %ld\n",
|
||||||
_valRecordsRead, _ptrVertices->size());
|
_valRecordsRead, _ptrVertices->size());
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
|
@ -26,8 +26,8 @@ namespace starfield {
|
||||||
|
|
||||||
InputVertex(float azimuth, float altitude, unsigned color) {
|
InputVertex(float azimuth, float altitude, unsigned color) {
|
||||||
|
|
||||||
_valColor = color >> 16 & 0xffu | color & 0xff00u |
|
_valColor = (color >> 16 & 0xffu) | (color & 0xff00u) |
|
||||||
color << 16 & 0xff0000u | 0xff000000u;
|
(color << 16 & 0xff0000u) | 0xff000000u;
|
||||||
|
|
||||||
azimuth = angleConvert<Degrees,Radians>(azimuth);
|
azimuth = angleConvert<Degrees,Radians>(azimuth);
|
||||||
altitude = angleConvert<Degrees,Radians>(altitude);
|
altitude = angleConvert<Degrees,Radians>(altitude);
|
||||||
|
|
Loading…
Reference in a new issue