summaryrefslogtreecommitdiffstats
path: root/src/math/geometry.h
Commit message (Collapse)AuthorAgeFilesLines
* Changed all occurences of PPC in the code to TerranovaTeamkrzys-h2014-10-141-16/+18
|
* Fixed code formattingPiotr Dziwinski2013-05-271-0/+1
| | | | | | * moved braces to new lines * fixed some function/variable names * fixed whitespace issues
* Reverted RotateAngle to old formulaPiotr Dziwinski2013-02-211-7/+26
| | | | | This should solve incontinuities in angle calculations, possibly fixing the "teleportation bug"
* Updated docs and some Doxygen fixesPiotr Dziwinski2012-09-271-1/+4
|
* Namespace and styling fixPiotr Dziwinski2012-09-191-8/+11
|
* Tests rewrite and Doxygen in src/mathPiotr Dziwinski2012-09-111-61/+115
| | | | | | - rewritten tests to use new framework - updated/reformatted Doxygen - removed legacy conversions
* Documentation updatePiotr Dziwinski2012-08-111-8/+3
| | | | | | - updated Doxyfile - added/changed file, dir and namespace descriptions - fixed some errors in doxygen tags
* Basic font renderingPiotr Dziwinski2012-08-031-2/+2
| | | | | - added basic font rendering - minor refactoring & fixes
* 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
* Refactoring in math & texture modulesPiotr Dziwinski2012-07-061-54/+57
| | | | | | - 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-011-0/+18
| | | | | | | | - 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-261-248/+248
| | | | | | | - 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
* Tests and fixes in math geometry.h modulePiotr Dziwinski2012-06-151-18/+18
|
* FPOINT -> Math::Point & other math functionsPiotr Dziwinski2012-06-131-20/+1
| | | | | | | | | - 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-121-39/+10
| | | | | | | - 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
* Finished implementation of math functionsPiotr Dziwinski2012-06-071-0/+600