summaryrefslogtreecommitdiffstats
path: root/src/math
Commit message (Collapse)AuthorAgeFilesLines
* Put common CXX flags in common variablesDidier Raboud2012-12-191-1/+2
| | | | | CMAKE_CXX_FLAGS is taken into account in all builds; build-type-specific flags are appended to it.
* Don't enforce CMake build type on users.Didier Raboud2012-12-191-1/+3
| | | | Only set CMAKE_BUILD_TYPE to Debug when no value is provided.
* Split gtest and gmock, fixed using system packagesPiotr Dziwinski2012-12-161-1/+1
| | | | | | - split the bundled gtest and gmock libraries - allowed the use of system gmock - refactoring in CMakeLists
* Font coloring; fix for resize hackPiotr Dziwinski2012-09-301-0/+10
| | | | | | - added font coloring and changed default color to black - fixed resize hack incorrectly changing video config, but font resizing will not work for now
* Updated docs and some Doxygen fixesPiotr Dziwinski2012-09-272-3/+6
|
* Namespace and styling fixPiotr Dziwinski2012-09-199-38/+59
|
* Mouse wheel events, motion vectorsPiotr Dziwinski2012-09-191-0/+10
| | | | | | - added mouse wheel events - added motion vectors to CRobotMain - other minor changes in event.h
* Tests rewrite and Doxygen in src/mathPiotr Dziwinski2012-09-1111-403/+263
| | | | | | - rewritten tests to use new framework - updated/reformatted Doxygen - removed legacy conversions
* Documentation updatePiotr Dziwinski2012-08-119-60/+55
| | | | | | - updated Doxyfile - added/changed file, dir and namespace descriptions - fixed some errors in doxygen tags
* Render mode setting, refactoringPiotr Dziwinski2012-08-112-145/+0
| | | | | | - finished SetState in CEngine - refactored Size and IntSize back to Point and IntPoint - other minor changes in CEngine
* Font renderingPiotr Dziwinski2012-08-062-6/+6
| | | | - implemented rest of CText interface excluding some minor features
* Basic font renderingPiotr Dziwinski2012-08-035-8/+39
| | | | | - added basic font rendering - minor refactoring & fixes
* Switched to new style castsPiotr Dziwinski2012-07-304-10/+10
| | | | | | - rewrote old C-style casts to new ..._cast<> - corrected some dangerous casts - added -Wold-style-cast to compile flags
* Video mode changingPiotr Dziwinski2012-07-292-0/+127
| | | | | | - added video mode querying & changing - added joystick querying & changing - cleaned up CApplication interface
* Cursor drawingPiotr Dziwinski2012-07-232-0/+12
| | | | | - fixed cursor drawing in CEngine - changed event loop to generate more events
* Texture & mouse functions; refactoring & fixesPiotr Dziwinski2012-07-221-11/+9
| | | | | | | | | | | - cleaned up and added documentation to engine.h - refactored CEngine interface and associated structs - added mouse handling functions in CApplication & CEngine - fixed bugs in projection matrix setting - changed texture loading & handling - added const-values in CDevice & CGLDevice - changed event management in CApplication - other minor changes & bugfixes
* Fixed OpenGL transformationsPiotr Dziwinski2012-07-181-1/+1
| | | | | - fixed wrong order of transformations - added transform_test
* Fix in model loading; simple model viewerPiotr Dziwinski2012-07-152-0/+21
| | | | | | | | | - fixed model loading code - added simple model viewer (model_test) in src/graphics/opengl/test - added system time stamp code - split the code in app/system modules to separate headers - added debug messages in model loading - minor fixes in OpenGL engine
* Refactoring in math & texture modulesPiotr Dziwinski2012-07-064-81/+84
| | | | | | - moved texture-related structs to texture.h & code to texture.cpp - cleaned up texture test code - added Math:: namespace qualifiers to math modules for clarity
* CGLDevice implementationPiotr Dziwinski2012-07-014-0/+36
| | | | | | | | - extended Gfx::CDevice interface - written OpenGL implementation in Gfx::CGLDevice - rewrote color and light module - added Gfx::VertexCol - added array casts to Math::Vector, Math::Matrix and Gfx::Color
* Whitespace and language changePiotr Dziwinski2012-06-2611-1557/+1557
| | | | | | | - changed tabs to spaces and DOS line endings to Unix (except in CBot and metafile) - changed language to English - fixed #include <d3d.h> in d3dengine.h
* CApplication and Gfx::CEngine interfaces & otherPiotr Dziwinski2012-06-241-0/+44
| | | | | | | | - added CApplication and Gfx::CEngine interfaces - added Gfx::Material struct - added Math::IntPoint struct - added template for Gfx::CDevice class - added templates for Gfx::CGLDevice and Gfx::CGLEngine classes
* Templates for new implementationPiotr Dziwinski2012-06-222-3/+4
| | | | | | - added template of classes/structs for new implementation - changed #include paths - updated README files
* Moved old implementations to src/oldPiotr Dziwinski2012-06-224-1695/+0
|
* Switched to new implementation of the rest of math modulePiotr Dziwinski2012-06-193-65/+69
| | | | | | | | - changed structs from D3DVECTOR to Math::Vector and from D3DMATRIX to Math::Matrix - changed functions to new Math namespace functions - moved mainmovie module from graphics to object - added Get and Set to Math::Matrix
* Tests and fixes in math geometry.h modulePiotr Dziwinski2012-06-156-26/+367
|
* FPOINT -> Math::Point & other math functionsPiotr Dziwinski2012-06-135-139/+157
| | | | | | | | | - changed FPOINT to Math::Point and some functions from math module to the new implementation - moved old function and FPOINT struct declarations to math3d.cpp - removed some unused functions in math module - fixed some #include dependencies - moved #define STRICT and #define D3D_OVERLOADS to compile options
* Fixes in math modulePiotr Dziwinski2012-06-129-91/+240
| | | | | | | - rewritten RotateAngle() function and test for it in geometry_test.cpp - added conv.h - conversion functions - added comments in math3d.h and d3dmath.h pointing to new functions - other minor fixes
* BOOL -> bool; additional fixes in constructors/destructorsPiotr Dziwinski2012-06-103-37/+37
|
* Fixed include paths and CMakeLists.txtPiotr Dziwinski2012-06-103-11/+10
| | | | Additionally, changed #ifndef to #pragma once everywhere
* Moved old math filesPiotr Dziwinski2012-06-074-0/+0
|
* Finished implementation of math functionsPiotr Dziwinski2012-06-079-538/+636
|
* Structs continuedPiotr Dziwinski2012-05-034-59/+332
|
* Structs continuedPiotr Dziwinski2012-05-026-57/+276
|
* Structs continuedPiotr Dziwinski2012-05-018-296/+624
| | | | Basic functions finished and tested for matrix and vector.
* Structs continuedPiotr Dziwinski2012-04-297-103/+750
|
* Structs continuedPiotr Dziwinski2012-04-284-13/+130
|
* Structs continuedPiotr Dziwinski2012-04-285-53/+211
|
* Split math functions; beginning of common structuresPiotr Dziwinski2012-04-285-0/+582
|
* Source files split into modulesPiotr Dziwinski2012-04-285-0/+1584