Revision bb9951d...

Go back to digest for 16th June 2013

Other in Educational

Henry de Valence committed changes in [kstars/hdevalence-gsoc2013] /:

Begin refactoring the SkyPoint class.

We want to simplify the SkyPoint class and remove all of the
computation methods. We're going to do this by converting them into
functions in the namespace KSEngine::OldPointFunctions.

Eventually, we'll be able to remove them all, but for now we're going
to move them out, so that we can work on them seperately.

This commit moves the updateCoords function out of the SkyPoint.
Unfortunately, updating the coordinates is done in three different
ways using virtual methods, so we can't just remove it. Instead, we
have to settle for removing the bulk of the computation.

File Changes

Added 3 files
  • /engine
  •   kstars/oldpointfunctions.cpp
  •   kstars/oldpointfunctions.h
  •   kstars/types.h
Modified 3 files
  •   kstars/CMakeLists.txt
  •   kstars/skyobjects/skypoint.cpp
  •   kstars/skyobjects/skypoint.h
6 files changed in total