Recep Aslantas
024412f00e
add docs for project/unproject
2018-04-03 16:41:13 +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
eb527e39b4
optimize project
2018-04-03 11:25:33 +03:00
Recep Aslantas
9f389ab8ec
project function
2018-04-03 11:09:13 +03:00
Recep Aslantas
3399595dc2
add vec2 type
2018-04-03 10:46:46 +03:00
Recep Aslantas
84cdbd5072
Merge pull request #40 from recp/aabb-ext
...
Axis-Aligned Bounding Box (AABB) Extensions
2018-04-02 16:40:23 +03:00
Recep Aslantas
dbd1e334ea
aabb box size and radius
2018-04-02 16:26:14 +03:00
Recep Aslantas
acda316c12
get sign of float helper as -1, +1 and 0
...
* add clarification for zero input
2018-04-02 16:18:50 +03:00
Recep Aslantas
86efe64b8e
helper for check aabb is valid or not
2018-04-02 12:35:22 +03:00
Recep Aslantas
b0991342a6
aabb printer function
2018-04-02 12:08:08 +03:00
Recep Aslantas
984916d520
invalidate axis-aligned boundng box util
2018-04-02 11:50:53 +03:00
Recep Aslantas
ca504f7058
now working on v0.3.6
2018-03-29 00:12:16 +03:00
Recep Aslantas
26110f83d1
euler: fix thetaY in extracting angles
2018-03-27 12:35:19 +03:00
Recep Aslantas
4298211795
euler: fix extracting XYZ angles
2018-03-27 12:14:12 +03:00
Recep Aslantas
205d13aa93
fix euler angles (extrinsic -> intrinsic)
...
because cglm uses intrinsics for these rotations
2018-03-27 11:14:26 +03:00
Recep Aslantas
48b7b30e42
add call version for clamp
2018-03-22 21:18:08 +03:00
Recep Aslantas
86055097e1
clamp functions
2018-03-22 18:10:10 +03:00
Recep Aslantas
780179ff0d
fix unproject
2018-03-08 22:29:10 +03:00
Recep Aslantas
c148eacdc2
fix unproject's parameters
2018-03-08 13:12:08 +03:00
Recep Aslantas
29996d0bdd
add unproject function
2018-03-08 13:02:33 +03:00
Recep Aslantas
cfab79e546
now working on v0.3.5
2018-03-08 12:18:07 +03:00
Recep Aslantas
0e964a1a62
complete documentation
2018-03-03 17:59:50 +03:00
Recep Aslantas
1fd0a74478
docs: euler angles documentation
2018-03-01 18:27:56 +03:00
Recep Aslantas
a610626693
fix vec4 parameter type
2018-02-26 23:24:43 +03:00
Recep Aslantas
425bf87c1f
docs: add docs for camera
2018-02-26 23:23:31 +03:00
Recep Aslantas
23698b7e48
docs: add docs for vec4
2018-02-26 22:08:04 +03:00
Recep Aslantas
be3f117374
docs: add docs for vec3-ext
2018-02-26 17:10:33 +03:00
Recep Aslantas
77e62163ea
docs: add docs for vec3
2018-02-26 16:21:04 +03:00
Recep Aslantas
02ab66a8b3
docs: add docs for transforms
2018-02-24 20:12:05 +03:00
Recep Aslantas
4ce2e86d9f
color: add luminance function
2018-02-23 11:12:55 +03:00
Recep Aslantas
c1c659489a
surround macro values with parentheses
2018-02-18 11:16:03 +03:00
Recep Aslantas
3882b72f7f
vec: helper macro for zero vectors
2018-02-05 17:46:28 +03:00
Recep Aslantas
9649a0285f
fix documentation param names
2018-01-18 20:52:24 +03:00
Recep Aslantas
0f9f4748d7
box: cull frustum with aabb helper
2018-01-18 20:08:45 +03:00
Recep Aslantas
a832d58d9f
box: cull frustum with aabb helper
2018-01-18 20:04:21 +03:00
Recep Aslantas
8b2c74b0cc
bounding box
2018-01-18 16:36:58 +03:00
Recep Aslantas
da8bbc6536
improve minv and maxv
2018-01-18 16:24:30 +03:00
Recep Aslantas
4a7cd2eb26
cam: convenient util for crating orthographic proj with AABB
2018-01-18 16:23:34 +03:00
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
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
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
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