Commit Graph

83 Commits

Author SHA1 Message Date
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
7fe0411452 MSVC下增加warning disable,以减少MGL警告 2019-10-24 18:04:28 +08:00
2b71bf8135 first commit 2019-08-19 19:19:58 +08:00