Miro Knejp
c351089e9f
Dedicated extension to represent angle values
...
Defines a dedicated type and operations for angles taking care of the radians/degrees issue and enforcing semantically sane usage.
Applying these types consistently can prevent many problems related to conversions between degrees and radians. Furthermore it only supports operations which preserve the angle's dimension (under the assumption it is not dimensionless) allowing the compiler to detect misuses in equations. By not manually converting between degrees and radians everywhere in your program you can even gain some extra speed efficiency.
Where ever you deal with angles (regardless if class members or function arguments) always use fangle/dangle and let it deal with the calculations necessary for radians/degrees conversions. Never again use a plain `float` in interfaces to represent angles or worry about these nuisances.
The angle types should be no bigger than the datatype used for representation (if they are complain to your compiler vendor), are as efficient in copy and assignment operations as a native float or double, and can be safely passed by-value without fear of performance problems.
2015-05-11 18:02:55 +02:00
Christophe Riccio
83409a0720
Merge pull request #335 from shaxbee/master
...
Improve compatibility with old CMake versions #335
2015-05-04 09:50:39 +02:00
Zbigniew Mandziejewicz
60ccb43b14
Improve compatibility with old CMake versions
2015-05-03 15:00:02 +08:00
Christophe Riccio
d7fa6d318c
- Removed -m64 causing build issues on Linux 32 #331
2015-05-02 00:26:12 +02:00
Christophe Riccio
25ccac2fd3
Fixed release note
2015-05-02 00:08:47 +02:00
Christophe Riccio
c1377bc360
- Clarified manual regarding angle unit in GLM, added FAQ 11 #336
2015-05-02 00:07:35 +02:00
Christophe Riccio
ea36f44294
Fixed perspective fovy argument documentation #327
2015-05-01 23:46:09 +02:00
Christophe Riccio
0d1e2d5e8a
Updated release note for Added master branch continuous integration service on Linux 64 #332
2015-05-01 23:37:48 +02:00
Christophe Riccio
3a1c510999
Updated lastest release in readme.md
2015-05-01 22:42:30 +02:00
Christophe Riccio
909e3c2e29
Updated lasest release.
2015-05-01 22:35:05 +02:00
Christophe Riccio
b05536dee8
Added link to releases
2015-05-01 22:32:13 +02:00
Christophe Riccio
08937e2702
Added lastest release on release.md
2015-05-01 22:25:24 +02:00
Christophe Riccio
6b47f41387
Fixed automated tests compiler versions
2015-05-01 21:39:36 +02:00
Christophe Riccio
303a523325
Fixed C++98 build
2015-05-01 20:49:58 +02:00
Christophe Riccio
084804111e
Fixed CMake build on 2.8 versions
2015-05-01 20:40:45 +02:00
Christophe Riccio
476ea7bbe1
Merge pull request #324 from shaxbee/master
...
Export glm as interface library for CMake 2.8.12 and newer #324
2015-05-01 20:20:50 +02:00
Christophe Riccio
df8cd22706
Fixed specifier removal by 'std::make_pair<>' #333
2015-05-01 20:01:07 +02:00
Christophe Riccio
5f784d812a
Updated readme.md with more link
2015-05-01 19:40:03 +02:00
Christophe Riccio
7cdc3aa4e0
Updated readme.md formatting
2015-05-01 16:58:02 +02:00
Christophe Riccio
376ca3351f
Updated readme.md
2015-05-01 16:46:45 +02:00
Christophe Riccio
ff05442b0b
Updated readme.md
2015-05-01 16:22:00 +02:00
Christophe Riccio
3164671f77
Updated readme.md
2015-05-01 16:19:21 +02:00
Christophe Riccio
6309159683
Updated readme.md
2015-05-01 16:16:36 +02:00
Christophe Riccio
20d1e6b06a
Updated readme.rd
2015-05-01 16:07:48 +02:00
Christophe Riccio
1fe65522c9
Added GLM description to GLM readme.md
2015-05-01 15:46:53 +02:00
Christophe Riccio
d1f36ac419
Added logo
2015-05-01 15:30:52 +02:00
Christophe Riccio
7f291cdbeb
Renamed readme.md
2015-05-01 15:05:16 +02:00
Christophe Riccio
099bef4d16
Fixed GCC build
2015-05-01 14:48:55 +02:00
Christophe Riccio
a472f50767
Fixed C++98 build
2015-05-01 14:13:48 +02:00
Zbigniew Mandziejewicz
37f7df3dc0
Simplified build tree CMake config
2015-04-10 00:04:52 +08:00
Zbigniew Mandziejewicz
29940ee443
Export build tree package
2015-04-09 11:20:58 +08:00
Zbigniew Mandziejewicz
62a7daddcf
Removed obsolete FindGLM
2015-03-30 01:39:27 +08:00
Zbigniew Mandziejewicz
288d1af309
Export glm as interface library for CMake 2.8.12 and newer
2015-03-29 12:12:48 +08:00
Christophe Riccio
e1c3c531dd
Fixed warnings
2015-03-16 23:29:13 +01:00
Christophe Riccio
f51bcc70cc
Added <glm/gtx/hash.hpp> to perform to perform std::hash on GLM types #320
2015-03-15 23:52:22 +01:00
Christophe Riccio
61e9b88db0
Merge pull request #320 from plasmacel/master
...
Add std::hash support for glm types (with precision support) #320
2015-03-15 22:49:29 +01:00
Christophe Riccio
102c223aa2
Don't show status message in 'FindGLM' if 'QUIET' option is set. #317
2015-03-15 21:50:46 +01:00
Christophe Riccio
7cd4a531ec
Merge pull request #317 from camio/find_quietly
...
Don't show status message in 'FindGLM' if 'QUIET' option is set. #317
2015-03-15 21:48:51 +01:00
Christophe Riccio
a8203ac034
Fixed multi-line comment warning in g++. #315
2015-03-15 21:45:57 +01:00
Christophe Riccio
ee222f4bfc
Merge pull request #315 from BryceMehring/master
...
Fixed multi-line comment warning in g++. #315
2015-03-15 21:40:17 +01:00
Christophe Riccio
3252b53841
Added functions eulerAngleXYZ and extractEulerAngleXYZ #311
2015-03-15 21:36:56 +01:00
Christophe Riccio
14c3673b39
Merge pull request #311 from jzrake/master
...
Add functions eulerAngleXYZ and extractEulerAngleXYZ #311
2015-03-15 21:34:52 +01:00
Christophe Riccio
417676566e
Fixed (u)int64 MSB/LSB handling on BE archs #306
2015-03-15 21:31:51 +01:00
Christophe Riccio
05eac3c8b2
Merge pull request #306 from jcajka/master
...
Fixed (u)int64 MSB/LSB handling on BE archs #306
2015-03-15 21:27:35 +01:00
Thom de Villa
b1c45d3ce3
add precision support to std::hash glm specializations
2015-03-07 14:25:59 +01:00
Thom de Villa
36e2bdd294
comment fix
2015-03-07 14:04:56 +01:00
Thom de Villa
44c3453c84
std::hash support for glm types
...
std::hash template specializations implemented for vec, quat and mat
types
2015-03-07 14:01:55 +01:00
Thom de Villa
23007136cf
Merge pull request #3 from g-truc/master
...
sync
2015-03-07 13:44:48 +01:00
David J. Sankel
5ac752262a
Don't show status message in 'FindGLM' if 'QUIET' option is set.
...
The 'QUIET' option of 'find_package' sets the 'GLM_FIND_QUIETLY' option.
This patch makes FindGLM suppress output when this is the case.
2015-02-26 11:12:02 -07:00
BryceMehring
47116d8c28
Fixed multi-line comment warning in g++.
2015-02-22 14:32:55 -06:00