Changeset 8619 in orxonox.OLD for trunk/src/lib/graphics/effects
- Timestamp:
- Jun 20, 2006, 1:24:11 PM (19 years ago)
- Location:
- trunk/src/lib/graphics/effects
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/graphics/effects/lense_flare.cc
r8495 r8619 47 47 this->setClassID(CL_LENSE_FLARE, "LenseFlare"); 48 48 49 this->flareMatrix = new float[14];50 49 /* length image scale */ 51 50 this->flareMatrix[0] = 1.0f; -
trunk/src/lib/graphics/effects/lense_flare.h
r8495 r8619 51 51 bool bVisible; //!< Checks visibility 52 52 Light* lightSource; //!< reference to the sun (or primary light source) 53 std::vector<ImagePlane*> 53 std::vector<ImagePlane*> flares; //!< the flares array 54 54 55 55 Vector2D flareVector; //!< the axis to draw the flares on … … 57 57 Vector2D screenCenter; //!< the vector marking the center of the screen 58 58 59 float * flareMatrix;59 float flareMatrix[14]; 60 60 Plane frustumPlane; //!< plane that marks the view frustum 61 61 };
Note: See TracChangeset
for help on using the changeset viewer.