Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 10, 2005, 2:32:13 AM (20 years ago)
Author:
bensch
Message:

orxonox/trunk: model is now able to return the values of its vertices

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/lib/graphics/importer/array.cc

    r4109 r4577  
    1 /* 
     1/*
    22   orxonox - the future of 3D-vertical-scrollers
    33
     
    1717
    1818#include "array.h"
     19
     20#include "debug.h"
    1921
    2022/**
     
    6668void Array::finalizeArray (void)
    6769{
    68   PRINTF(4)("Finalizing array. Length: %i\n", entryCount); 
     70  PRINTF(4)("Finalizing array. Length: %i\n", entryCount);
    6971  //  if ((array = (GLfloat*)malloc( entryCount* sizeof(GLfloat))) == NULL)
    7072  if (!(this->array = new GLfloat [this->entryCount]))
     
    9092    {
    9193      PRINTF(5)("adding new Entry to Array: %f\n", entry);
    92      
     94
    9395      this->currentEntry->value = entry;
    9496      this->currentEntry->next = new Entry;
     
    9799      ++this->entryCount;
    98100    }
    99   else 
     101  else
    100102    PRINTF(2)("adding failed, because list has been finalized\n");
    101103}
     
    110112  this->addEntry (entry2);
    111113}
    112  
     114
    113115/**
    114116   \brief Simple debug info about the Array
Note: See TracChangeset for help on using the changeset viewer.