Recep Aslantas
fdea13507b
replace mat4_mulq with glm_quat_rotate
...
* glm_quat_rotate is better name to rotate transform matrix using quaternion.
* we may use mat4_mulq in the future for another purpose e.g. left multiplication quat with matrix
2018-04-11 10:49:53 +03:00
Recep Aslantas
6f69da361b
quaternion multiplication
...
* convert quaternion multiplication to xyzw
* previous implementation may be wrong, wikipedia version implemented
* implement SSE version
2018-04-09 23:56:09 +03:00
Recep Aslantas
3dc93c56e8
convert quaterinon to xyzw order (part 1)
2018-04-09 18:49:12 +03:00
Recep Aslantas
257c57d41f
mat4 to quaternion
2018-04-07 19:46:46 +03:00
Recep Aslantas
9b8748acc4
quat: quaternion to mat3
2018-04-07 13:27:40 +03:00
Recep Aslantas
ae06c51746
improve glm_mat4_mulN for non-DEBUG environment
2018-04-07 13:22:44 +03:00
Recep Aslantas
b16f0ded85
Merge branch 'master' into proj
2018-04-03 12:30:03 +03:00
Recep Aslantas
63acfd681e
fix unproject, add tests to project/unproject
2018-04-03 12:27:20 +03:00
Recep Aslantas
4298211795
euler: fix extracting XYZ angles
2018-03-27 12:14:12 +03:00
Recep Aslantas
48b7b30e42
add call version for clamp
2018-03-22 21:18:08 +03:00
Recep Aslantas
780179ff0d
fix unproject
2018-03-08 22:29:10 +03:00
Recep Aslantas
29996d0bdd
add unproject function
2018-03-08 13:02:33 +03:00
Recep Aslantas
8b2c74b0cc
bounding box
2018-01-18 16:36:58 +03:00
Recep Aslantas
8bcd6bd077
frustum: make clipspace coords configurable
...
* now users can override clip space coords
* add more desc to header
* add call version for _corners_at
2018-01-14 11:03:03 +03:00
Recep Aslantas
2349bbff31
move frustum related stuff to frustum header
...
* create helpers macro which defines corner index
* func for get bounding box frustum
* add missing source to make file
* add more desc to glm_frustum_corners
2018-01-12 15:21:36 +03:00
Recep Aslantas
2b7994778d
fix lib call version of look_anyup
2018-01-12 12:54:33 +03:00
Recep Aslantas
61ac032751
new wrappers for lookat
2018-01-10 22:02:14 +03:00
Recep Aslantas
eaf45e489d
view frustum center
2017-12-31 17:17:39 +03:00
Recep Aslantas
2d0a3ad828
use frustum namespace for frustum specific funcs
2017-12-30 18:05:11 +03:00
Recep Aslantas
99669a21a4
move extracting planes to camera header
...
* since it related to view frustum / camera it should be in thie header or separate header called frustum.h
* update LICENSE to add authors of algorithm
2017-12-30 13:55:17 +03:00
Recep Aslantas
c98340d9d2
exracting planes
2017-12-30 12:18:32 +03:00
Recep Aslantas
63eaee5049
vec: implement min and max
2017-12-17 16:55:04 +03:00
Recep Aslantas
9fe48b34a7
inverse (opposite) of vectors
2017-10-27 00:20:41 +03:00
Recep Aslantas
9d61668e04
re-organise files, remove cglm prefix from file to make them more clean
2017-07-11 18:05:10 +03:00