Commit Graph

  • 057fbd9844 vector, quat: rotate vector by axis (RH) Recep Aslantas 2016-11-29 21:16:07 +02:00
  • 3713ac2599 vector: optimize vec* normalize_to Recep Aslantas 2016-11-29 17:45:15 +02:00
  • 6e08757605 vector: fix vec4 normalize and optimize vec* normalizations Recep Aslantas 2016-11-29 17:38:16 +02:00
  • 8d5dc3b2e7 quat: optimize normalize quat Recep Aslantas 2016-11-29 17:29:36 +02:00
  • 4c2271bfd5 quat: remove _init from quat initializer and provide vector initialiizer Recep Aslantas 2016-11-29 17:23:28 +02:00
  • 941ddc38ac remove empty, unused vec func Recep Aslantas 2016-11-05 13:34:45 +02:00
  • cd1f1796ac fix rotate make Recep Aslantas 2016-11-02 09:56:20 +02:00
  • b18e9030a4 util: make deg/rad Recep Aslantas 2016-11-01 17:02:17 +02:00
  • 61eb854c56 fix rigid-body inverse SSE2 Recep Aslantas 2016-11-01 00:02:03 +02:00
  • ec6c9ae497 improve cam impl Recep Aslantas 2016-10-30 23:08:44 +02:00
  • f0547e2535 fix variables Recep Aslantas 2016-10-30 22:59:47 +02:00
  • f41fd0cc84 angle between two vector Recep Aslantas 2016-10-30 21:28:35 +02:00
  • b99d240425 is equal helper Recep Aslantas 2016-10-30 19:30:38 +02:00
  • 6ed426ca8b improve decompose rs Recep Aslantas 2016-10-30 17:19:35 +02:00
  • 20525907d9 fix axis rotations Recep Aslantas 2016-10-30 17:17:29 +02:00
  • 28554042d6 improve rotate_ndc Recep Aslantas 2016-10-30 17:16:01 +02:00
  • 9bf045e026 vec broadcast helper Recep Aslantas 2016-10-30 16:55:12 +02:00
  • c0d1cb4031 simd like convenient funcs Recep Aslantas 2016-10-30 16:52:12 +02:00
  • f957b73a1d explicit cast int to enum for c++ Recep Aslantas 2016-10-30 16:39:38 +02:00
  • 6fb8866d93 fix rotate Recep Aslantas 2016-10-30 16:39:06 +02:00
  • fb54ccc5ca remove TODO which is done Recep Aslantas 2016-10-27 16:05:55 +03:00
  • 75f5efe0bb pre-compiled version Recep Aslantas 2016-10-27 01:12:55 +03:00
  • f4e2cff63b fix/improve matrix decomposition Recep Aslantas 2016-10-26 17:23:42 +03:00
  • 55cf08d474 vec4 normalize-to Recep Aslantas 2016-10-26 17:20:02 +03:00
  • 4ac8eaa1c9 helper for get sign of integer Recep Aslantas 2016-10-26 14:37:06 +03:00
  • a410b880b4 decompose scaling sign Recep Aslantas 2016-10-26 14:36:53 +03:00
  • f2beb49bf7 helper to get new euler order Recep Aslantas 2016-10-26 13:26:17 +03:00
  • 45254972f0 euler angles to matrix from given order Recep Aslantas 2016-10-26 12:07:10 +03:00
  • 086c1cf326 fix euler: use ExEyEz instead of RxRyRz Recep Aslantas 2016-10-26 11:06:48 +03:00
  • 005a6f55d2 fix euler angle val Recep Aslantas 2016-10-25 12:24:42 +03:00
  • 41cfa78442 build rot using euler angles vector [x, y, z] Recep Aslantas 2016-10-24 22:07:13 +03:00
  • 025d7f4267 change pitch and yaw order Recep Aslantas 2016-10-24 21:57:46 +03:00
  • 27dbdaad12 euler angles return angles as vector [x, y, z] Recep Aslantas 2016-10-24 21:55:46 +03:00
  • ffe9250a28 improve euler angles Recep Aslantas 2016-10-24 21:46:43 +03:00
  • e8cb10de72 improve extracting euler angles Recep Aslantas 2016-10-24 21:42:40 +03:00
  • baf60f0a31 euler xyz: change param order and rm comment.. Recep Aslantas 2016-10-24 16:00:04 +03:00
  • ecc574acb4 update license Recep Aslantas 2016-10-24 14:05:05 +03:00
  • cb0239503f extract euler angles from matrix (xyz) Recep Aslantas 2016-10-24 14:01:21 +03:00
  • f8bd200d40 euler angles zyx Recep Aslantas 2016-10-24 14:00:04 +03:00
  • 7e637d7c25 fiz euler zxy Recep Aslantas 2016-10-24 13:55:14 +03:00
  • 05c76fa992 fix euler angle Recep Aslantas 2016-10-24 13:50:14 +03:00
  • 0ff0579456 fix euler matrix Recep Aslantas 2016-10-23 23:27:57 +03:00
  • a6254cca47 affine transform decomposition T R S Recep Aslantas 2016-10-23 15:22:47 +03:00
  • 5621fa1ab7 fix ortho Recep Aslantas 2016-10-20 02:39:24 +03:00
  • f4b0d2bdde ma3 swap rows/columns Recep Aslantas 2016-10-16 20:45:58 +03:00
  • bb3067ebfb mat4 swap rows/columns Recep Aslantas 2016-10-16 20:44:13 +03:00
  • 30004910f6 move io funcs to io header, use util for another purpose Recep Aslantas 2016-10-16 16:05:46 +03:00
  • 6a1dbf1947 update readme Recep Aslantas 2016-10-14 12:05:27 +03:00
  • bdcea86ac6 move types to individual header Recep Aslantas 2016-10-13 23:44:02 +03:00
  • 34eae7422b remove _mat4_ prefix from uniform Recep Aslantas 2016-10-13 18:16:11 +03:00
  • 62c0fa377d remove _affine_ prefix from affine mul and rigid-body inverse Recep Aslantas 2016-10-13 18:13:06 +03:00
  • 46c84781f6 rename glm_yaw_pitch_roll to glm_euler Recep Aslantas 2016-10-13 18:06:48 +03:00
  • e2f1c7eb6a fix euler zxy Recep Aslantas 2016-10-13 17:00:48 +03:00
  • 551175333f fix yaw-pitch-roll Recep Aslantas 2016-10-13 16:47:03 +03:00
  • 2c6b257a82 implement euler angles zxy, zyx (yaw-pitch-roll) Recep Aslantas 2016-10-13 11:06:14 +03:00
  • bb45a77d64 remove comment Recep Aslantas 2016-10-12 12:21:04 +03:00
  • 06393513ca mat3 determinant Recep Aslantas 2016-10-12 12:20:10 +03:00
  • 90259e673f full inverse of mat3 Recep Aslantas 2016-10-12 12:15:10 +03:00
  • 15663fcb26 rm redefinition glGetIntegerv for win32 Recep Aslantas 2016-10-12 11:22:38 +03:00
  • c08ce6a5ee rigid-body matrix inverse Recep Aslantas 2016-10-12 00:00:39 +03:00
  • b7ed89fcf0 mat3 scale Recep Aslantas 2016-10-11 18:27:31 +03:00
  • 14ee37b9c5 mat4 pick transposed mat3 Recep Aslantas 2016-10-11 18:27:13 +03:00
  • 80c6c0a28b drop manual simd impl from mat3 Recep Aslantas 2016-10-11 18:26:07 +03:00
  • 3c26a7f820 mat4: precise matrix inverse Recep Aslantas 2016-10-11 14:22:25 +03:00
  • b2e8e7c77b vec: flip sign Recep Aslantas 2016-10-11 14:02:49 +03:00
  • 21f62ba9ab insert mat3 to mat4 upper-left Recep Aslantas 2016-10-11 13:58:30 +03:00
  • 822923a035 move mat3 print to util and insert mat3 to default header Recep Aslantas 2016-10-11 12:04:54 +03:00
  • 5344599ae4 pick mat3 from mat4 Recep Aslantas 2016-10-11 00:15:57 +03:00
  • 77ed5d389d mat3 mul by vec3 Recep Aslantas 2016-10-10 17:44:17 +03:00
  • 0cbfd3cd3b mat4 pure style Recep Aslantas 2016-10-10 17:40:49 +03:00
  • dc85a6c3ca mat3 transpose Recep Aslantas 2016-10-10 17:38:56 +03:00
  • 6390367476 affine mat mul Recep Aslantas 2016-10-10 12:09:42 +03:00
  • af52f40114 fix pure affine mul and some style Recep Aslantas 2016-10-10 10:31:50 +03:00
  • 5b5dbcc15c optimize affine transform matrices Recep Aslantas 2016-10-10 00:08:36 +03:00
  • 3ffca7a733 use native types instead GL* Recep Aslantas 2016-10-09 18:08:59 +03:00
  • 2ebdfaeeaf helper ortho proj Recep Aslantas 2016-10-09 18:06:52 +03:00
  • a6f96de292 move platform specific functions to platform header Recep Aslantas 2016-10-09 17:57:55 +03:00
  • 1f12adbfae default ortho projection Recep Aslantas 2016-10-09 17:48:50 +03:00
  • 4da42276f5 msvc compatibility Recep Aslantas 2016-10-09 14:38:53 +03:00
  • 751391c8ff fix ortho Recep Aslantas 2016-10-09 14:08:08 +03:00
  • bc8cede3d8 helper: default perspective Recep Aslantas 2016-10-08 16:37:56 +03:00
  • c428b79f98 move platform specific codes to platform header Recep Aslantas 2016-10-08 16:37:20 +03:00
  • a85bf47683 mat3 multiplication Recep Aslantas 2016-10-08 14:15:31 +03:00
  • 78e4e867eb unaligned matrix duplication Recep Aslantas 2016-10-06 16:54:08 +03:00
  • 1b41c3d52a add braces to mat initializer Recep Aslantas 2016-10-05 12:13:05 +03:00
  • 02c6ba5b19 update license Recep Aslantas 2016-10-03 16:51:14 +03:00
  • 846c4d3c73 affine rotation Recep Aslantas 2016-10-03 16:29:48 +03:00
  • 5a24b9fcd5 fix build rotate Recep Aslantas 2016-10-03 16:18:54 +03:00
  • a23f238c60 fix init rotation matrix Recep Aslantas 2016-10-03 12:57:55 +03:00
  • cd5cee615c build rotation matrix Recep Aslantas 2016-10-03 11:37:59 +03:00
  • 098a930d9f make glm_vec4_dup3 inline Recep Aslantas 2016-10-02 00:13:18 +03:00
  • ea6f12d90a vector [pure] documentation Recep Aslantas 2016-09-29 10:25:33 +03:00
  • 1ab4329013 style Recep Aslantas 2016-09-29 10:02:58 +03:00
  • 268db00c44 mat4 [pure] documentation Recep Aslantas 2016-09-29 00:48:13 +03:00
  • 6a00598144 msvc: opengl header Recep Aslantas 2016-09-28 18:04:09 +03:00
  • e752f356a8 include other headers to main header Recep Aslantas 2016-09-28 18:03:47 +03:00
  • f99d920dc6 cpp: dont pass array to function directly Recep Aslantas 2016-09-28 17:51:51 +03:00
  • d45dc614cf use float version of math functions Recep Aslantas 2016-09-28 17:50:01 +03:00
  • 8b67604247 msvc: define __SSE__ and __SSE2__ if available Recep Aslantas 2016-09-28 17:44:21 +03:00
  • 88fe54b200 msvc: disable alignment in typedef (for now) Recep Aslantas 2016-09-28 17:31:10 +03:00