Recep Aslantas
565ee2d6eb
frustum: fix bounding box
...
default value 0.0 causes to get min or max as 0 if max < 0 or min > 0
2018-01-18 16:12:44 +03:00
Recep Aslantas
c58db651a6
vec: convenient wrappers/utils for vectors ( #21 )
...
* vec: convenient wrappers/utils for vectors
* add additional convenient funcs
2018-01-16 23:10:35 +03:00
Recep Aslantas
ee78459340
add documentation to quaternion header
2018-01-15 16:33:57 +03:00
Recep Aslantas
37f6bb8725
add documentation to util header
2018-01-15 16:02:48 +03:00
Recep Aslantas
703c74b6ca
add documentaiton to affine-mat header
2018-01-15 15:57:08 +03:00
Recep Aslantas
42d8f58960
update affine header
...
* add come documentation to affine header
* rename scale1 to scale_uni
2018-01-15 15:52:13 +03:00
Stephen Strowes
74201aaef9
add new headers to makefile.am ( #20 )
...
* add new headers to makefile.am
* add missing call headers to makefile.am
2018-01-14 23:08:46 +03:00
Recep Aslantas
c6b0d96e71
Merge pull request #19 from recp/dev
...
move frustum related stuff to separate frustum header
2018-01-14 15:01:33 +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
6dcd919130
Update README.md
2018-01-14 00:24:43 +03:00
Recep Aslantas
944d285e14
frustum: new util for getting a plane's corners between near and far planes
...
* optimize frustum box func
2018-01-13 21:40:34 +03:00
Recep Aslantas
a56da8cc4a
frustum: new macros for frustum
2018-01-13 21:37:15 +03:00
Recep Aslantas
40458be41b
frustum: fix array index
2018-01-13 17:27:06 +03:00
Recep Aslantas
b6dc5029dd
build, win: update windows solution and proejct files
2018-01-12 16:41:34 +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
b76f78948b
Merge pull request #18 from recp/dev
...
new wrappers for lookat
2018-01-12 15:05:48 +03:00
Recep Aslantas
2b7994778d
fix lib call version of look_anyup
2018-01-12 12:54:33 +03:00
Recep Aslantas
4e6ab470c2
update glm_look_any to glm_look_anyup
2018-01-12 12:52:25 +03:00
Recep Aslantas
50c23ce1c0
add missing definitions, fix initizlizing vector
2018-01-10 22:42:34 +03:00
Recep Aslantas
61ac032751
new wrappers for lookat
2018-01-10 22:02:14 +03:00
Recep Aslantas
9ee79a8b13
possible orthogonal/perpendicular vector
2018-01-10 00:26:13 +03:00
Recep Aslantas
efe6729891
Merge pull request #16 from recp/dev
...
convenient functions for perspective projection matrix
2018-01-10 00:06:23 +03:00
Recep Aslantas
42743e3b82
use float literal suffix for numbers
2018-01-10 00:01:06 +03:00
Recep Aslantas
b3c3e3a034
fix variable names
2018-01-08 16:03:53 +03:00
Recep Aslantas
642cc8d603
perspective sizes
2018-01-04 13:54:35 +03:00
Recep Aslantas
d53f95314d
apply optimizations
2018-01-04 13:52:35 +03:00
Recep Aslantas
797c4581ee
extract fovy and aspect for perpective matrix
2018-01-04 11:16:09 +03:00
Recep Aslantas
6534f4a6c7
Merge pull request #14 from recp/dev
...
feature: extract view frustum planes and corners
2018-01-02 20:15:09 +03:00
Recep Aslantas
3e4f52b3af
optimize operations, fix max sign
2018-01-02 10:16:46 +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
400fc6cbee
extracting view frustum corners
2017-12-30 17:51:40 +03:00
Recep Aslantas
634e1170a3
min and max util
2017-12-30 17:50:53 +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
d14627ac52
vec: fix parameter types
2017-12-30 13:14:09 +03:00
Recep Aslantas
c98340d9d2
exracting planes
2017-12-30 12:18:32 +03:00
Recep Aslantas
3f616ce6a3
update version
v0.3.3
2017-12-27 16:32:49 +03:00
Recep Aslantas
35d078a1ed
avoid using far and near names because windows uses it as macro!!!
2017-12-27 16:31:26 +03:00
Recep Aslantas
034371c689
Merge pull request #11 from winduptoy/master
...
Fixed GLM_QUAT_IDENTITY_INIT (wxyz) instead of (xyzw). Addresses #10 .
2017-12-26 17:44:03 +03:00
Matt Reyer
b797863ba3
Fixed GLM_QUAT_IDENTITY_INIT (wxyz) instead of (xyzw). Addresses #10 .
2017-12-26 08:51:21 -05:00
Recep Aslantas
63eaee5049
vec: implement min and max
2017-12-17 16:55:04 +03:00
Recep Aslantas
ef0dd289bb
update version
v0.3.1
2017-12-17 15:56:16 +03:00
Recep Aslantas
4052943a0d
matrix: make accurate inv version default
...
* now the glm_mat4_inv_precise is deault, because I don't think all people are aware of this func
* the old behavior (fast) replaced with new func: glm_mat4_inv_fast
if fast version is desired then glm_mat4_inv_fast must be used.
2017-12-17 15:49:00 +03:00
Recep Aslantas
33fefb9454
ci, travis: fix coveralls installation
2017-12-07 20:57:53 +03:00
Recep Aslantas
008de93d03
decompose projection matrix into near, far, left, right, top and bottom
2017-11-24 11:07:26 +03:00
Recep Aslantas
171668085d
fix decompose near / far values from projection
2017-11-23 17:44:51 +03:00
Recep Aslantas
1907ba1046
decompose perspective near and far values
2017-11-23 17:16:29 +03:00
Recep Aslantas
39e1c35c79
convenient macros for UP vector for lookAt
2017-11-22 10:44:17 +03:00
Recep Aslantas
be605e6100
update ignore file
2017-11-22 10:42:01 +03:00
Recep Aslantas
b8897befa6
test: fix mat4 tests
2017-11-18 11:38:13 +03:00