Changeset 2842 in orxonox.OLD for orxonox/trunk/importer/array.cc
- Timestamp:
- Nov 12, 2004, 6:51:15 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/importer/array.cc
r2823 r2842 16 16 #include "array.h" 17 17 18 /** 19 \brief creates a new Array 20 */ 18 21 Array::Array () 19 22 { 20 createArray ();23 initializeArray (); 21 24 } 22 25 23 void Array::createArray () 26 /** 27 \brief initializes an Array 28 the Function does this by setting up a fistEntry, and setting the entryCount. 29 */ 30 void Array::initializeArray () 24 31 { 25 32 if (verbose >= 2) … … 33 40 } 34 41 42 /** 43 \brief finalizes an array. 44 This Function creates the array, and makes it ready to be sent to the application. 45 */ 35 46 void Array::finalizeArray (void) 36 47 { … … 49 60 } 50 61 51 62 /** 63 \brief adds a new Entry to the Array 64 \param entry Entry to add. 65 */ 52 66 void Array::addEntry (GLfloat entry) 53 67 { … … 68 82 } 69 83 84 /** 85 \brief Adds 3 entries at once (convenience) 86 */ 70 87 void Array::addEntry (GLfloat entry0, GLfloat entry1, GLfloat entry2) 71 88 { … … 75 92 } 76 93 77 94 /** 95 \brief Gives back the array !! MUST be executed AFTER finalize. 96 \returns The created array. 97 */ 78 98 GLfloat* Array::getArray () 79 99 { … … 81 101 } 82 102 103 /** 104 \returns The Count of entries in the Array 105 */ 83 106 int Array::getCount() 84 107 { … … 86 109 } 87 110 88 89 111 /** 112 \brief Simple debug info about the Array 113 */ 90 114 void Array::debug () 91 115 {
Note: See TracChangeset
for help on using the changeset viewer.