Commit Graph

113 Commits

Author SHA1 Message Date
mafiesto4 d4d38e94cb Merge branch 'Vector-Angle-Functions-CPP' of git://github.com/intolerantape/FlaxEngine into intolerantape-Vector-Angle-Functions-CPP 2021-09-23 12:22:45 +02:00
mafiesto4 53022ff013 Fix code quality issues detected by PVS-Studio 2021-09-21 18:23:31 +02:00
intolerantape 134260ba52 Added Vector*::Angle functions to C++
Directly ported the C# versions of the function.
2021-09-11 06:02:11 -07:00
mafiesto4 50bdffb381 Tweaks 2021-08-31 09:36:15 +02:00
Jean-Baptiste Perrier 5aaf09018f Add missing NearEqual for double 2021-08-18 12:49:53 +02:00
Jean-Baptiste Perrier c8ceb4f86b Add DoubleX constructors for VectorX 2021-08-18 12:49:38 +02:00
Jean-Baptiste Perrier e655ee6b78 Tweaks Double2 2021-08-18 12:49:12 +02:00
Jean-Baptiste Perrier 281673dd6b Add Double4 impl. cpp 2021-08-18 12:48:52 +02:00
Jean-Baptiste Perrier eedca14e6f Add Double3 impl. cpp 2021-08-18 12:48:39 +02:00
Jean-Baptiste Perrier 8f56f7fdfe Merge branch 'math-double' of https://github.com/jb-perrier/FlaxEngine into double-vectors 2021-08-12 20:49:00 +02:00
Jean-Baptiste Perrier 2d9627df33 Tweak docs 2021-08-12 19:00:41 +02:00
Jean-Baptiste Perrier 8dc864d22f Add Double2 vector implementation 2021-08-12 15:21:11 +02:00
Jean-Baptiste Perrier 2948bfbed0 Backward compatibility (Mathd -> Math), fix and remove warnings. 2021-08-12 14:15:26 +02:00
Jean-Baptiste Perrier 2c30f48900 Tweak 2021-08-12 13:51:06 +02:00
Jean-Baptiste Perrier 69aac09be8 Add Mathd.cs implementation 2021-08-12 13:50:34 +02:00
Jean-Baptiste Perrier 2799136ccb Remove Double operation from Math.h 2021-08-12 13:49:47 +02:00
Jean-Baptiste Perrier 328027300d Add Mathd implementation. 2021-08-12 13:49:21 +02:00
Jean-Baptiste Perrier 3aecbd75a3 Remove unused include. 2021-08-12 13:48:45 +02:00
Nejcraft 52ba7a7a08 I shouldn't code at 4 in the morning :D 2021-07-16 11:40:57 +02:00
Nejcraft af8856188d Rectangle distance
Will be usefull for my UI nav
2021-07-16 04:32:47 +02:00
mafiesto4 929476a322 Optimize various engine code 2021-07-08 12:59:45 +02:00
mafiesto4 419f8db538 Optimize BoundingSphere::FromBox 2021-06-30 13:42:22 +02:00
mafiesto4 14bc9501c7 Cleanup some code 2021-06-10 16:59:59 +02:00
mafiesto4 9b0b11f08f Missing change
9618a57432
2021-06-01 11:54:56 +02:00
mafiesto4 9618a57432 Add BoundingBox.MakeScaled 2021-06-01 11:54:41 +02:00
mafiesto4 8eadd912f7 Add ClosestPointPointLine for Vector3 to C# 2021-05-31 10:26:15 +02:00
mafiesto4 44433bf3b4 Add 9-slicking support for UI to draw sprites and textures
#155
2021-05-29 13:48:00 +02:00
mafiesto4 c745e6f29b Merge branch 'MathStuff' of git://github.com/W2Wizard/FlaxEngine into W2Wizard-MathStuff 2021-04-29 10:14:31 +02:00
mafiesto4 f7837f99c2 Fix handling spacing in collection editors to align label in a proper way with margin 2021-04-22 10:59:35 +02:00
W2Wizard 7cfcacf0cd Remove Unit Direction method 2021-04-20 18:21:27 +02:00
W2Wizard 4e01d110a1 Add UnitDirection & Goldenratio
Additional simplification
2021-04-19 15:37:39 +02:00
jb-perrier fed5805fcc Add Int4 Min/Max. 2021-04-08 18:55:07 +02:00
jb-perrier e9c5ffa736 Add Int3 Min/Max. 2021-04-08 18:54:55 +02:00
jb-perrier e912590bc6 Add Int2 Min/Max. 2021-04-08 18:54:35 +02:00
jb-perrier 9d3861ace2 Add Int2 funcs. 2021-04-08 18:54:20 +02:00
jb-perrier 0b1c1b3a8d Refactor Int2 operation. 2021-04-08 18:54:09 +02:00
jb-perrier 4b22503ea2 Add Int3 operators + funcs. 2021-04-08 18:53:39 +02:00
jb-perrier 54786a001a Add Int4 operators + funcs. 2021-04-08 18:53:20 +02:00
jb-perrier 9cf6120b39 Add Int2 constructors. 2021-04-08 18:52:42 +02:00
jb-perrier 21f1930c2d Add Int3 constructors. 2021-04-08 18:52:34 +02:00
jb-perrier 053d55bf81 Add Int4 constructors. 2021-04-08 18:52:21 +02:00
jb-perrier 563ec32f06 Add Int4 Min/Max support. 2021-04-08 18:52:01 +02:00
jb-perrier f8bc124752 Add Int3 Min/Max support. 2021-04-08 18:51:54 +02:00
jb-perrier 529beaad08 Add Int2 Min/Max support. 2021-04-08 18:51:46 +02:00
jb-perrier efbc7976b0 Add Int3.cpp. 2021-04-08 18:51:17 +02:00
jb-perrier 048612c65c Add Int3.cpp. 2021-04-08 18:51:09 +02:00
jb-perrier 866105631e Add Int4.cpp. 2021-04-08 18:50:59 +02:00
jb-perrier 6c4ca6c01a Delete unused pre-decl. 2021-04-08 18:50:16 +02:00
jb-perrier a04d19d9f7 Delete unused pre-decl. 2021-04-08 18:50:09 +02:00
jb-perrier f470a9aaf4 Delete unused pre-decl. 2021-04-08 18:50:04 +02:00