Commit Graph

306 Commits

Author SHA1 Message Date
Wojtek Figat
ed908a260e Add support for Double2/3/4 for Variant
Increase size to 40 bytes to store Double3 without allocations
Change Ray and BoundingBox to be stored inlined in BoundingBox
Use safer accessors to read Variant explicit data type
2022-05-20 18:10:35 +02:00
Wojtek Figat
2369b6a34a Add support for double serializtion in C++ 2022-05-20 15:53:50 +02:00
Wojtek Figat
04c0f19584 Add Double2, Double3, Double4 to C# scripting API 2022-05-18 23:23:50 +02:00
Wojtek Figat
523d961f28 Add various improvements for C# math library 2022-05-18 22:30:50 +02:00
Wojtek Figat
4a2e8d0a69 Cleanup and adjustments for vector types 2022-05-16 23:52:38 +02:00
Wojtek Figat
1859d7c2f5 Inline Vector4 == operator manually 2022-05-01 21:48:35 +02:00
Wojtek Figat
12d960e787 Merge branch 'vector2_fix' of https://github.com/GoaLitiuM/FlaxEngine 2022-05-01 21:45:28 +02:00
Wojtek Figat
158c29e598 Add **Dictionaries to Visual Scripting** 2022-04-27 22:47:54 +02:00
703152cb2f Fix Vector2 equality comparison 2022-04-24 21:17:27 +03:00
Wojtek Figat
ddb9b327d4 Add Color.FromRGBA 2022-04-15 19:16:30 +02:00
Wojtek Figat
47cc49a962 Add Delegate::BindUnique 2022-04-14 22:17:40 +02:00
Wojtek Figat
a27d69f852 Improve Json Asset development workflow 2022-04-13 21:19:10 +02:00
Wojtek Figat
87cb553c61 Optimize Vector3 method to be inlined more often 2022-02-28 19:14:14 +01:00
Wojciech Figat
3c9a5bcf1a Fix CollisionsHelper::ClosestPointPointTriangle 2022-02-08 19:55:55 +01:00
Wojciech Figat
8d47ea7d2f Fix doc comment 2022-01-31 10:23:27 +01:00
Wojciech Figat
d86e4090b8 Add ctor for Variant from Span<byte> 2022-01-26 16:55:38 +01:00
Wojciech Figat
d36c502287 Add easier game or plugin settings asset usage with SettingsBase 2022-01-21 16:22:14 +01:00
Wojciech Figat
465c857ff2 Fix bounding box size setter 2022-01-17 10:12:05 +01:00
Wojciech Figat
cfa5aa6a61 Add math unit tests for c++ 2022-01-14 19:09:54 +01:00
Wojciech Figat
8c2241c6dc Update copyright year 2022-01-14 13:31:12 +01:00
Wojtek Figat
c4b6865659 Merge branch 'master' into mac 2022-01-09 19:15:15 +01:00
Wojtek Figat
192af7ec14 Refactor native core objects to simplify usage for newcomers 2022-01-08 15:06:23 +01:00
Wojtek Figat
32a73727b0 Optimize Stream includes to Array 2022-01-08 15:06:14 +01:00
Wojtek Figat
68d8766c56 Optimize String::ReserveSpace if length doesn't change 2022-01-08 15:06:13 +01:00
Wojciech Figat
d017dd14ca Add Mac platform 2021-12-27 14:04:16 +01:00
Wojciech Figat
821ba0ec3b Add Rectangle.Distance for distance between rectangle and a point 2021-12-14 17:00:13 +01:00
Wojciech Figat
2daec98fd7 Reuse code from Bind lambda in Function 2021-12-07 18:27:21 +01:00
Wojciech Figat
4a191f5f6c Merge branch 'MiscellaneousImprovements' of git://github.com/intolerantape/FlaxEngine into intolerantape-MiscellaneousImprovements 2021-12-07 18:23:20 +01:00
Wojciech Figat
ea71e8cbe6 Tweaks for doc comments 2021-12-07 18:23:01 +01:00
Wojciech Figat
1db43f079d Add implicit casting to single types from vector types in Variant 2021-12-03 15:38:35 +01:00
Wojciech Figat
faaddccee4 Optimize StringView comparision operators 2021-12-03 15:36:04 +01:00
intolerantape
8d758ced15 Added a constructor for C++ Function class to support initialization directly from reference-captured lambda.
Previously, Function had to initialize reference-captured lambdas with the Bind() method.
2021-12-02 07:17:39 -08:00
intolerantape
6ed655f8c3 Implementated Math::SinCos() overload taking doubles as parameters. 2021-12-02 07:17:38 -08:00
intolerantape
f05f9d5ade Made Dictionary support movable value types with deleted copy constructors. 2021-12-02 07:17:36 -08:00
Wojciech Figat
653c209567 Fixes and tweaks for C++ API reference docs generation 2021-12-02 10:13:20 +01:00
Wojtek Figat
1b3790f60e Fix regression from 74f813ed3e 2021-11-30 20:17:16 +01:00
Wojtek Figat
2114002803 Cleanup xml docs 2021-11-27 13:07:21 +01:00
Wojtek Figat
74f813ed3e Optimize UI in Editor 2021-11-27 13:07:09 +01:00
Wojtek Figat
a9c56caf84 Optimize Math.NearEqual 2021-11-23 23:17:05 +01:00
Wojciech Figat
84570ec9e0 Add Variant to string for Enums to use scripting enum items names 2021-11-19 16:48:42 +01:00
Wojciech Figat
31bbd586db Add scripting enums as ScriptingType 2021-11-19 16:43:02 +01:00
Wojciech Figat
3f3d8fc494 Add more improvements to Variant and conversions with managed data 2021-11-19 16:03:55 +01:00
Wojciech Figat
502a67a75a Add Array constant node to Visual Script and Anim Graph 2021-11-18 16:35:46 +01:00
Wojciech Figat
13deb4a54f Add better support for Arrays in Variant for C# Scripting 2021-11-16 20:46:04 +01:00
Wojtek Figat
24e5d4635d Add Mathf.Frac 2021-11-07 21:39:09 +01:00
Wojtek Figat
21e6e8bc7b Fix crash when reading from RingBuffer if it's full 2021-11-06 20:15:01 +01:00
Wojtek Figat
5f7112a404 Add Quaternion::FromDirection to C++ 2021-11-03 10:44:12 +01:00
Wojtek Figat
b79feda477 Add ToString for some packed vector types 2021-10-27 16:38:50 +02:00
Wojtek Figat
cc7959a390 Add explicit operator for Color32 to Int4 2021-10-25 23:23:33 +02:00
Wojtek Figat
b9e29520cf Fix __popcnt on MSVC only if SSE 4.2 is available 2021-10-25 10:52:13 +02:00