Changeset 9882 for code/branches/radarDreiD/src/modules
- Timestamp:
- Dec 9, 2013, 2:26:10 PM (11 years ago)
- Location:
- code/branches/radarDreiD/src/modules/overlays/hud
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/radarDreiD/src/modules/overlays/hud/HUDRadar.cc
r9877 r9882 68 68 this->shapeMaterials_[RadarViewable::Triangle] = "RadarTriangle.png"; 69 69 this->shapeMaterials_[RadarViewable::Square] = "RadarSquare.png"; 70 this->setDetectionLimit( 10000.0f );71 70 this->owner_ = 0; 72 71 … … 121 120 XMLPortParam(HUDRadar, "material3DBack", set3DMaterialBack, get3DMaterialBack, xmlelement, mode); 122 121 XMLPortParam(HUDRadar, "mapAngle3D", setMapAngle, getMapAngle, xmlelement, mode); 123 124 125 122 XMLPortParam(HUDRadar, "detectionLimit", setDetectionLimit, getDetectionLimit, xmlelement, mode); 126 123 } 127 124 -
code/branches/radarDreiD/src/modules/overlays/hud/HUDRadar.h
r9847 r9882 59 59 void setHalfDotSizeDistance(float distance) { this->halfDotSizeDistance_ = distance; } 60 60 61 void setDetectionLimit( float limit ) 62 { this->detectionLimit_ = limit; } 63 float getDetectionLimit() const 64 { return this->detectionLimit_; } 61 void setDetectionLimit( float limit ) { this->detectionLimit_ = limit; } 62 float getDetectionLimit() const { return this->detectionLimit_; } 65 63 66 64 float getMaximumDotSize() const { return this->maximumDotSize_; }
Note: See TracChangeset
for help on using the changeset viewer.