102 Commits

Author SHA1 Message Date
430a2f67e0 fixed bug in perspective and lookat 2024-03-15 00:52:25 +08:00
a29a35ecea resume lookat what to change in furture 2024-03-12 22:29:40 +08:00
006eaa3f1c added kilometer2mile,inch2centimeter,kilometer2nauticalmile..... 2023-10-31 16:23:21 +08:00
b060f6a6d4 added Quat4f,Matrix2f,Identity2f/3f/4f/3x4f 2023-10-31 16:11:38 +08:00
0344325554 added Vector?d/b 2023-10-11 19:38:02 +08:00
41178fcb3b removed float2half and float_to_half 2023-09-11 16:36:06 +08:00
6a21b387f5 used lower function name in is_nearly_equal 2023-09-04 22:01:25 +08:00
a75acfabd1 improved "ray_intersection_angle" functions. 2023-09-04 21:56:26 +08:00
bbb7daa6c2 added clamp<uint8>,clamp<uint16> 2023-09-04 21:44:05 +08:00
28ad08eb01 added HGL_SIN.... constexpr value. 2023-07-11 18:12:04 +08:00
03e66d7050 moved the Float32toFloat16 codes to .cpp 2023-06-06 12:16:22 +08:00
b0804710ee added ClampU8/ClampU16 2023-02-10 15:59:29 +08:00
5441a7dd1c added half2u16/half2u8 2023-02-10 11:05:07 +08:00
61e8961be4 added Vector?u8/Vector?u16 2023-02-10 11:04:50 +08:00
188015a7b9 added MergeFloat16,fixed bugs of MergeFloat32/64 2023-02-09 15:17:55 +08:00
eae442ce66 added SplitFloat32/64, Float32toFloat16, MergeFloat32,MergeFloat64 2023-02-09 14:27:53 +08:00
54b6ac3b7c redefined include files of Color,half float 2023-02-07 22:42:42 +08:00
f867a283b3 added 4bits constexpr values at Binary.h. 2022-12-30 14:55:26 +08:00
e8376618c4 added Binary.h 2022-12-30 11:43:33 +08:00
e2d4caa59c added convert between Celsius and Fahrenheit Kelvin 2022-12-30 11:15:19 +08:00
fb765038f0 fixed few mistake in C++17 2022-05-31 17:21:17 +08:00
bfed461c84 fixed half_to_float 2022-03-21 21:29:14 +08:00
98978c5363 added a newly clamp function that only a param 2022-03-12 19:30:08 +08:00
d1f7b588a3 deleted codes of lookat 2022-03-09 18:39:39 +08:00
3b55f2f42b added IsNearlyEqual functions,updated PolarToVector function. 2022-01-27 14:53:15 +08:00
9a74f1722c added constexpr to many math functions. 2022-01-27 10:45:43 +08:00
d370342a98 added Vector3i/4i/3u/4u 2022-01-26 12:32:57 +08:00
14da094013 optimized function's name that they are deg2rad and rad2deg 2022-01-26 10:57:18 +08:00
caaefe206b used Vector3f instead of Vector4f at lookat function. 2022-01-18 12:01:36 +08:00
eae6976f86 added Matrix3x4f define. 2021-09-27 10:41:50 +08:00
089d499201 fixed matrix 2021-09-26 20:48:34 +08:00
34b70f1b42 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	src/Math/Matrix4f.cpp
2021-09-24 20:42:56 +08:00
4775e6b758 Vector.h upgrade to GLM 2021-09-24 20:38:06 +08:00
e469041733 switch to glm 2021-09-24 01:51:32 +08:00
7f58bcf320 added PrimaryMathematics.h 2021-09-14 09:55:36 +08:00
77644ce65b add BOM header 2021-05-22 18:25:39 +08:00
5de4e0822d split Math/Physics/Time const to new files. 2021-05-10 11:25:21 +08:00
162a6ce2f2 add 2d matrix functions, they are translate/scale/rotate 2020-12-09 16:28:21 +08:00
64cc9345d0 add Matrix4f.cpp, moved a lot of codes to Matrix4f.cpp 2020-11-19 18:25:20 +08:00
16f8e89f5b force used the double type at length_squared_2d. 2020-11-16 16:50:40 +08:00
0bcfed4e93 fix a bug, it's adaptive a error vector type. 2020-11-12 16:12:11 +08:00
4014c119cb add PolarToVector3f/4f functions. 2020-11-11 22:37:16 +08:00
aa7e9a7eff add bvec.h 2020-09-30 14:16:42 +08:00
1ad31f6f6b add clamp and dot2 functions. 2020-09-30 14:16:30 +08:00
a24e522ffe add Matrix3x4f 2020-09-28 16:49:23 +08:00
e90f8c9479 delete "return" in Construct function 2020-01-23 20:23:36 +08:00
8f024e1598 更新pow22算法 2020-01-20 17:05:13 +08:00
e2cf0d6041 add ApproxPow22 2020-01-20 16:57:33 +08:00
cdc2805477 delete WorldMatrix from Matrix.h 2020-01-11 21:25:27 +08:00
5ec34e3003 update WorldMatrix 2020-01-10 18:04:28 +08:00