Changeset 1139


Ignore:
Timestamp:
Feb 5, 2012, 2:46:43 AM (8 years ago)
Author:
sam
Message:

math: rename matrix.h to vector.h and simplify some stuff, especially in
the matrix code itself.

Location:
trunk
Files:
1 added
1 deleted
10 edited
3 moved

Legend:

Unmodified
Added
Removed
  • trunk/src/Makefile.am

    r1117 r1139  
    33
    44liblol_a_SOURCES = \
    5     core.h matrix.cpp real.cpp tiler.cpp tiler.h dict.cpp dict.h \
     5    core.h vector.cpp real.cpp tiler.cpp tiler.h dict.cpp dict.h \
    66    audio.cpp audio.h scene.cpp scene.h font.cpp font.h layer.cpp layer.h \
    77    map.cpp map.h entity.cpp entity.h ticker.cpp ticker.h lolgl.h \
     
    1414    \
    1515    lol/unit.h \
    16     lol/math/matrix.h lol/math/real.h lol/math/remez.h \
     16    lol/math/vector.h lol/math/real.h lol/math/remez.h \
    1717    \
    1818    application/application.cpp application/application.h \
  • trunk/src/core.h

    r1117 r1139  
    6666#include "half.h"
    6767#include "lol/math/real.h"
    68 #include "lol/math/matrix.h"
     68#include "lol/math/vector.h"
    6969#include "numeric.h"
    7070#include "timer.h"
  • trunk/src/eglapp.h

    r1117 r1139  
    1717#define __LOL_EGLAPP_H__
    1818
    19 #include "lol/math/matrix.h"
     19#include "lol/math/vector.h"
    2020
    2121namespace lol
  • trunk/src/image/image.h

    r1117 r1139  
    1717#define __LOL_IMAGE_H__
    1818
    19 #include "lol/math/matrix.h"
     19#include "lol/math/vector.h"
    2020
    2121namespace lol
  • trunk/src/input.h

    r1117 r1139  
    1717#define __LOL_INPUT_H__
    1818
    19 #include "lol/math/matrix.h"
     19#include "lol/math/vector.h"
    2020
    2121namespace lol
  • trunk/src/lol/math/remez.h

    r1127 r1139  
    1919#include <cstdio>
    2020
    21 #include "lol/math/matrix.h"
     21#include "lol/math/vector.h"
    2222
    2323namespace lol
  • trunk/src/platform/nacl/naclapp.h

    r1117 r1139  
    1717#define __LOL_NACLAPP_H__
    1818
    19 #include "lol/math/matrix.h"
     19#include "lol/math/vector.h"
    2020
    2121namespace lol
  • trunk/src/platform/ps3/ps3app.h

    r1117 r1139  
    1717#define __LOL_PS3APP_H__
    1818
    19 #include "lol/math/matrix.h"
     19#include "lol/math/vector.h"
    2020
    2121namespace lol
  • trunk/src/platform/sdl/sdlapp.h

    r1117 r1139  
    1717#define __LOL_SDLAPP_H__
    1818
    19 #include "lol/math/matrix.h"
     19#include "lol/math/vector.h"
    2020
    2121namespace lol
  • trunk/test/Makefile.am

    r1112 r1139  
    2323
    2424testsuite_SOURCES = testsuite.cpp \
    25     unit/matrix.cpp unit/half.cpp unit/trig.cpp unit/build.cpp \
     25    unit/vector.cpp unit/half.cpp unit/trig.cpp unit/build.cpp \
    2626    unit/real.cpp unit/image.cpp unit/quat.cpp unit/cmplx.cpp
    2727testsuite_CPPFLAGS = @LOL_CFLAGS@ @PIPI_CFLAGS@
     
    3030
    3131benchsuite_SOURCES = benchsuite.cpp \
    32     benchmark/matrix.cpp benchmark/half.cpp benchmark/trig.cpp \
     32    benchmark/vector.cpp benchmark/half.cpp benchmark/trig.cpp \
    3333    benchmark/real.cpp
    3434benchsuite_CPPFLAGS = @LOL_CFLAGS@ @PIPI_CFLAGS@
  • trunk/test/unit/vector.cpp

    r1138 r1139  
    22// Lol Engine
    33//
    4 // Copyright: (c) 2010-2011 Sam Hocevar <sam@hocevar.net>
     4// Copyright: (c) 2010-2012 Sam Hocevar <sam@hocevar.net>
    55//   This program is free software; you can redistribute it and/or
    66//   modify it under the terms of the Do What The Fuck You Want To
     
    1919{
    2020
    21 LOLUNIT_FIXTURE(MatrixTest)
     21LOLUNIT_FIXTURE(VectorTest)
    2222{
    2323    void SetUp()
Note: See TracChangeset for help on using the changeset viewer.