Commit Graph

264 Commits

Author SHA1 Message Date
Jérôme Leclercq e4b67019cb Math/Vector[2|3]: Removed Distancef and made Distance templated 2018-07-02 18:13:14 +02:00
Jérôme Leclercq 2f2b1f101b Core/Quaternion: Fix Inverse method 2018-04-12 12:45:19 +02:00
Lynix 271565d1b9 And fix compilation again 2018-03-20 22:11:42 +01:00
Lynix bca94e0955 Fix compilation 2018-03-20 21:59:27 +01:00
Lynix 8926f09511 Revert "Try to fix compilation"
This reverts commit a32408a4d7.
2018-03-20 21:57:28 +01:00
Lynix a32408a4d7 Try to fix compilation 2018-03-20 21:50:16 +01:00
Lynix ad82de2962 Replace typedef keywords by using 2018-03-20 20:59:04 +01:00
Lynix 69f079fcc8 Core/Serialization: Add type tag parameters 2018-03-20 20:56:06 +01:00
Lynix 0063ca9950 Math/VectorI: Remove array constructor 2018-02-18 18:57:30 +01:00
germinolegrand 1e55c4d9e9 Prerequisites instead of Prerequesites (typo) #152 (#153) 2018-01-16 12:23:01 +01:00
Jérôme Leclercq 4b6d7d2e47 Math/Algorithm: Fix typo 2018-01-05 15:39:56 +01:00
Lynix 99c974c141 Fix compilation 2017-12-15 00:19:45 +01:00
Lynix fd8306f17f Core/String: Replace implicit operator std::string by ToStd::String 2017-12-14 19:50:06 +01:00
Jérôme Leclercq 0a5cbe656f Math/VectorI: Make array/pointer constructor explicit 2017-11-23 13:21:51 +01:00
Gawaboumga f991a9529e General bug fixes (#142)
* Core/Bitset: Fix TestAll method

* Fix documentation

* Fix color and their conversions

* Core/ByteStream: Fix return of Write

* Fix compiler warnings

* Math/Algorithm: Fix angle normalization

* Math/BoundingVolume: Fix lerp

* Math: Fix relation between Matrix4 and Quaternion

* More tests

* X11/Window: Fix mouse moved event generated when doing Mouse::SetPosition

* Update ChangeLog

* Should fix compilation on Windows

* Should fix compilation on Windows

Forgot to include array for Windows
2017-11-21 12:16:46 +01:00
Gawaboumga 41a1b5d493 Physics2D tests (#129)
* Quaternion: Fix singularity on Z axis when converting to euler angles

* CollisionComponent2D: Add method to retrieve AABB

* Collider2D: Fix constructor for Box with Vector2

* Physics2D: Fix rotation (Chipmunk works with radian and Nazara degrees) and copy constructor of RigidBody2D

* Colider2D: Add New for convex and tests for the new classes
2017-08-20 21:47:23 +02:00
Jérôme Leclercq 4f1d52b395 Fix [Box|Rect]::Contains including outer border points 2017-06-01 17:24:28 +02:00
Lynix 883d7b02a7 Math/Algorithm: Optimize NumberEquals unsigned and float cases 2017-04-22 15:08:43 +02:00
Lynix 06038a4d81 Cleanup pass 2017-04-22 15:08:05 +02:00
Jérôme Leclercq 7b4f438065 Math/Algorithm: Fix NumberEquals for signed integers 2017-04-14 16:53:03 +02:00
DrLynix f383eca19a Update copyright year 2017-01-20 12:58:35 +01:00
Lynix 937fdef953 Math/Sphere: Fix ExtendTo method 2016-12-15 19:27:05 +01:00
Lynix d015d6e85e Math/Sphere: Fix compilation 2016-12-15 19:10:44 +01:00
Lynix f5f6c859d7 Math/Sphere: Remove SquaredDistance method 2016-12-15 18:32:58 +01:00
Lynix 165b73acb3 Math/Sphere: Fix SquaredDistance weirdness..
Fixes light selection
2016-12-15 14:37:58 +01:00
Lynix 7c5bf0f83e Math/Quaternion: Fix compilation of static method Lerp 2016-11-18 21:25:02 +01:00
Lynix 964d16f907 Math/Algorithm: CountBits now returns a std::size_t instead of a T 2016-11-18 01:14:33 +01:00
Lynix 43f93141ac Utility/Algorithm: Fix GenerateBox plane rotation (Fix #114) 2016-11-14 00:02:01 +01:00
Jérôme Leclercq e087129d4a Fix many errors and warnings found out by MinGW 2016-11-04 18:14:52 +01:00
Lynix 9328a8124d Math/Quaternion: Fix compilation of operator* with double instance 2016-10-27 10:47:36 +02:00
Lynix e59bd4ba35 Matrix4: Fix GetColumn and GetRow code 2016-10-27 10:47:17 +02:00
Lynix 5d5c7b4284 PR-82: Fix indent 2016-10-13 04:48:19 +02:00
S6066 5ea3eab8fc Oops, added an indent 2016-10-12 18:24:51 +02:00
S6066 e5300da933 Same 2016-10-12 18:23:28 +02:00
S6066 c5c4ef2c09 Fix + indent, again 2016-10-12 18:22:57 +02:00
S6066 255b1cce07 Fix + indent 2016-10-12 18:22:53 +02:00
S6066 e1d948c348 Fixing an oopsie (2) 2016-10-12 18:11:56 +02:00
S6066 d69166991a Fixing an oopsie (1) 2016-10-12 18:11:51 +02:00
S6066 59b2e55ed5 Added hash for Vectors 2016-10-12 17:56:46 +02:00
Gawaboumga 24d7861380 Fix documentation
Former-commit-id: bdaff1e4efaaad685df60baa0d11af3e7951dc4d [formerly 409b51215b894006fbcae285c8dfd67c97c9ae11] [formerly 58a176f2944bc3d347ccba58360cbdee3bb1b8d3 [formerly e6bd6b34212946c04eeec6896954c3969d1baf5f]]
Former-commit-id: 944b2ddd24acdcb0b6a5db07cfc75c13f407737a [formerly 7ed2f044fe8e50bf99a1c432e6079f7a445af573]
Former-commit-id: a1bfe55ac944ea530578a0cc813dd253cc708b69
2016-08-21 13:49:24 +02:00
Gawaboumga 96dc8c001e Various fixes
Former-commit-id: 26dfbdb3388c845a6e3039f816f19ffbb462d7b8 [formerly a6437e0b6e48dbd630440f8d2629b32e4756b48e]
Former-commit-id: 8a1855fc1d4d7c343b7e1fdcd3c6a31f3134a59a
2016-07-28 19:22:41 +02:00
Lynix 9a6de9f7ac Math/Vector4: Fix w value when converting from Vector3
Former-commit-id: 0ad39219de839bb1de859baac059441e36c04444 [formerly d2516303dd597418bd2939f737617f0fad1f0da4]
Former-commit-id: 7d5223e4e34b50dbb4ec9e0d22c7801470099d2a
2016-07-07 09:01:08 +02:00
Jérôme Leclercq 5970682035 Noise: First pass of refactoring
Former-commit-id: 77de49ee01fea466cb97b22771e4c625389fd95c [formerly edce9427bc009c8ea6a6df35d9ce134a83ab985c]
Former-commit-id: 76227519c8be75a45f6f65250a0870c2eb866953
2016-06-18 12:36:20 +02:00
Lynix 116699a313 Math/Algorithm: Fix IntegralLog2Pot case with sizeof(T) > 4 and %32 bits
Former-commit-id: c354e6edf2bd2c69926ff7c2503ec65862eb70ca [formerly 0363386806402faccdfe600341d5d9de5afc26f3]
Former-commit-id: 294c14ea78a84558ecbbeeb3276117a411b3d9e5
2016-06-11 13:13:53 +02:00
Gawaboumga 96b958d655 Documentation for module: Graphics
Former-commit-id: 5e3ee3c61779fbdd1a083117f537a45e1bad820b
2016-05-30 14:21:36 +02:00
Lynix 43c1243b75 Fix merge problems
Former-commit-id: 899b541adea1719f558c52abfab51458249b6aaf
2016-04-17 20:22:29 +02:00
Lynix 37aa00b2e7 Merge branch 'master' into NDK-ShadowMapping
Former-commit-id: e2be28b65207dfbb81efe58f31ca31548afecee7
2016-04-17 19:57:15 +02:00
Gawaboumga 91f2bee487 Bug fix -> String with one char + Directory and File on linux
Former-commit-id: 7f9b6c44197c3cc67145eb0a2d421a2e1de45a84
2016-04-04 10:36:13 +02:00
Gawaboumga 265e1c0fbd Fix compilation for gcc/clang + tests for serialization
Former-commit-id: db9c93a1db3c57f268fc17e411402e071fc8675a
2016-04-04 10:17:05 +02:00
Lynix 2b9dcb47c0 Math/BoundingVolume: Fix compilation
Former-commit-id: 6717a9d8d92f05ba3e4ae3b088aef79f0a637736
2016-03-26 01:38:03 +01:00