Recep Aslantas
07e60bd098
cam: extend frustum's far distance helper ( #71 )
...
* this will help to implement zoom easily
2019-01-16 14:59:58 +03:00
Recep Aslantas
2ef9c23a6c
vec: normalize cross product helper
2018-12-06 18:01:52 +03:00
Recep Aslantas
0b8c63a90e
vec: rename glm_vec_ namespace to glm_vec3_
2018-11-28 23:22:30 +03:00
Recep Aslantas
20360f2296
avx: replace binary constants with hex
2018-10-12 09:05:42 +03:00
Recep Aslantas
aa2b0f2631
code style and minor optimization[s]
2018-09-22 00:10:50 +03:00
Carsten Hartenfels
b9021978cb
Replace the use of deprecated CGLM_PI* constants
2018-09-21 19:59:23 +02:00
Recep Aslantas
af812e86eb
add a note to clarify up vector restriction for glm_lookat and glm_look
2018-05-29 11:30:38 +03:00
Recep Aslantas
7d783eeace
align local variables on stack
2018-05-23 23:04:06 +03:00
Recep Aslantas
425bf87c1f
docs: add docs for camera
2018-02-26 23:23:31 +03:00
Recep Aslantas
4a7cd2eb26
cam: convenient util for crating orthographic proj with AABB
2018-01-18 16:23: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
4e6ab470c2
update glm_look_any to glm_look_anyup
2018-01-12 12:52:25 +03:00
Recep Aslantas
61ac032751
new wrappers for lookat
2018-01-10 22:02:14 +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
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
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
35d078a1ed
avoid using far and near names because windows uses it as macro!!!
2017-12-27 16:31:26 +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
9d61668e04
re-organise files, remove cglm prefix from file to make them more clean
2017-07-11 18:05:10 +03:00