Revision 696013

Go back to digest for 5th August 2007

Optimization in Educational

Inge Wallin committed changes in /trunk/KDE/kdeedu/marble:

General cleaning
- Make code follow coding standards.
- Don't store half width/height of images in members.

I don't get why we ever stored them. Accessing a memory cell is > 100 times slower than calculating x / 2.

File Changes

Modified 6 files
  • /trunk/KDE/kdeedu/marble
  •   /ChangeLog
  •   /TODO
  •   /src/lib/AbstractScanlineTextureMapper.cpp
  •   /src/lib/AbstractScanlineTextureMapper.h
  •   /src/lib/FlatScanlineTextureMapper.cpp
  •   /src/lib/GlobeScanlineTextureMapper.cpp
6 files changed in total