Commit Graph

128 Commits

Author SHA1 Message Date
Recep Aslantas
ecc574acb4 update license 2016-10-24 14:05:05 +03:00
Recep Aslantas
cb0239503f extract euler angles from matrix (xyz) 2016-10-24 14:01:21 +03:00
Recep Aslantas
f8bd200d40 euler angles zyx 2016-10-24 14:00:04 +03:00
Recep Aslantas
7e637d7c25 fiz euler zxy 2016-10-24 13:55:14 +03:00
Recep Aslantas
05c76fa992 fix euler angle 2016-10-24 13:50:14 +03:00
Recep Aslantas
0ff0579456 fix euler matrix 2016-10-23 23:27:57 +03:00
Recep Aslantas
a6254cca47 affine transform decomposition T R S 2016-10-23 15:22:47 +03:00
Recep Aslantas
5621fa1ab7 fix ortho
nearVal, farVal
Specify the distances to the nearer and farther depth clipping planes.
****These values are negative if the plane is to be behind the
viewer.***

https://www.opengl.org/sdk/docs/man2/xhtml/glOrtho.xml
2016-10-20 02:39:24 +03:00
Recep Aslantas
f4b0d2bdde ma3 swap rows/columns 2016-10-16 20:45:58 +03:00
Recep Aslantas
bb3067ebfb mat4 swap rows/columns 2016-10-16 20:44:13 +03:00
Recep Aslantas
30004910f6 move io funcs to io header, use util for another purpose 2016-10-16 16:05:46 +03:00
Recep Aslantas
6a1dbf1947 update readme 2016-10-14 12:05:27 +03:00
Recep Aslantas
bdcea86ac6 move types to individual header
* include cglm-common to all headers
2016-10-13 23:44:02 +03:00
Recep Aslantas
34eae7422b remove _mat4_ prefix from uniform 2016-10-13 18:16:11 +03:00
Recep Aslantas
62c0fa377d remove _affine_ prefix from affine mul and rigid-body inverse 2016-10-13 18:13:06 +03:00
Recep Aslantas
46c84781f6 rename glm_yaw_pitch_roll to glm_euler 2016-10-13 18:06:48 +03:00
Recep Aslantas
e2f1c7eb6a fix euler zxy 2016-10-13 17:00:48 +03:00
Recep Aslantas
551175333f fix yaw-pitch-roll 2016-10-13 16:47:03 +03:00
Recep Aslantas
2c6b257a82 implement euler angles zxy, zyx (yaw-pitch-roll) 2016-10-13 11:06:14 +03:00
Recep Aslantas
bb45a77d64 remove comment 2016-10-12 12:21:04 +03:00
Recep Aslantas
06393513ca mat3 determinant 2016-10-12 12:20:10 +03:00
Recep Aslantas
90259e673f full inverse of mat3 2016-10-12 12:15:10 +03:00
Recep Aslantas
15663fcb26 rm redefinition glGetIntegerv for win32 2016-10-12 11:22:38 +03:00
Recep Aslantas
c08ce6a5ee rigid-body matrix inverse 2016-10-12 00:00:39 +03:00
Recep Aslantas
b7ed89fcf0 mat3 scale 2016-10-11 18:27:31 +03:00
Recep Aslantas
14ee37b9c5 mat4 pick transposed mat3 2016-10-11 18:27:13 +03:00
Recep Aslantas
80c6c0a28b drop manual simd impl from mat3 2016-10-11 18:26:07 +03:00
Recep Aslantas
3c26a7f820 mat4: precise matrix inverse
* TODO: duplicated code!
2016-10-11 14:22:25 +03:00
Recep Aslantas
b2e8e7c77b vec: flip sign 2016-10-11 14:02:49 +03:00
Recep Aslantas
21f62ba9ab insert mat3 to mat4 upper-left 2016-10-11 13:58:30 +03:00
Recep Aslantas
822923a035 move mat3 print to util and insert mat3 to default header 2016-10-11 12:04:54 +03:00
Recep Aslantas
5344599ae4 pick mat3 from mat4 2016-10-11 00:15:57 +03:00
Recep Aslantas
77ed5d389d mat3 mul by vec3 2016-10-10 17:44:17 +03:00
Recep Aslantas
0cbfd3cd3b mat4 pure style 2016-10-10 17:40:49 +03:00
Recep Aslantas
dc85a6c3ca mat3 transpose 2016-10-10 17:38:56 +03:00
Recep Aslantas
6390367476 affine mat mul 2016-10-10 12:09:42 +03:00
Recep Aslantas
af52f40114 fix pure affine mul and some style 2016-10-10 10:31:50 +03:00
Recep Aslantas
5b5dbcc15c optimize affine transform matrices
* reduce some multiplications/additions for transformations matrices
2016-10-10 00:08:36 +03:00
Recep Aslantas
3ffca7a733 use native types instead GL* 2016-10-09 18:08:59 +03:00
Recep Aslantas
2ebdfaeeaf helper ortho proj 2016-10-09 18:06:52 +03:00
Recep Aslantas
a6f96de292 move platform specific functions to platform header 2016-10-09 17:57:55 +03:00
Recep Aslantas
1f12adbfae default ortho projection 2016-10-09 17:48:50 +03:00
Recep Aslantas
4da42276f5 msvc compatibility 2016-10-09 14:38:53 +03:00
Recep Aslantas
751391c8ff fix ortho 2016-10-09 14:08:08 +03:00
Recep Aslantas
bc8cede3d8 helper: default perspective 2016-10-08 16:37:56 +03:00
Recep Aslantas
c428b79f98 move platform specific codes to platform header 2016-10-08 16:37:20 +03:00
Recep Aslantas
a85bf47683 mat3 multiplication 2016-10-08 14:15:31 +03:00
Recep Aslantas
78e4e867eb unaligned matrix duplication 2016-10-06 16:54:08 +03:00
Recep Aslantas
1b41c3d52a add braces to mat initializer 2016-10-05 12:14:27 +03:00
Recep Aslantas
02c6ba5b19 update license 2016-10-03 16:51:14 +03:00