Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 2804 in orxonox.OLD for orxonox/branches/importer/importer/array.cc


Ignore:
Timestamp:
Nov 11, 2004, 10:34:44 AM (20 years ago)
Author:
bensch
Message:

orxonox/branches/importer: added heavy logging

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/branches/importer/importer/array.cc

    r2760 r2804  
    1212void Array::createArray (unsigned int newArraySize)
    1313{
     14  if (verbose >= 2)
     15    printf ("crating new Array of size %i\n", newArraySize);
    1416  array = new GLfloat [newArraySize];
    1517  entryCount = -1; //0 means one entry
     
    2022void Array::resizeArray (unsigned int newSize)
    2123{
     24  if (verbose >= 2)
     25    printf ("Resizing Array to size %i\n", newSize); 
    2226  GLfloat* newArray = new GLfloat [newSize];
    2327 
     
    3438void Array::finalizeArray (void)
    3539{
     40  if (verbose >= 3)
     41    printf ("Finalizing array.\n"); 
    3642  resizeArray (entryCount+1);
    3743  return;
     
    4147void Array::addEntry (GLfloat entry)
    4248{
     49  if (verbose >= 3)
     50    printf ("adding new Entry to Array: %f\n", entry);
    4351  entryCount++;
    4452
Note: See TracChangeset for help on using the changeset viewer.