Commit Graph

289 Commits

Author SHA1 Message Date
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
Wojtek Figat
8938f13a0b Add support for compiling and running engine without C# scripting
(configurable via `EngineConfiguration.UseCSharp` in Flax.Build)
2021-10-23 16:43:15 +02:00
Wojtek Figat
14ab99595d Fix deprecated api ignoring macros on clang 2021-10-21 18:47:00 +02:00
Wojtek Figat
a906e0c857 Add assertions to String index operator to prevent invalid memory access 2021-10-17 16:01:47 +02:00
Wojtek Figat
05ebf60dba Add PRAGMA_DISABLE_DEPRECATION_WARNINGS and PRAGMA_ENABLE_DEPRECATION_WARNINGS macros 2021-10-14 11:07:12 +02:00
Wojtek Figat
4e6fa25877 Add support for using DEPRECATED to mark scripting API as obsolete 2021-10-12 23:48:47 +02:00
Wojtek Figat
8610db2e63 Code style tweaks 2021-10-11 14:39:46 +02:00
Wojtek Figat
6dc40d0c93 Fix possible division by zero in BoundingFrustum::GetCorners
#648
2021-10-11 14:39:29 +02:00
Wojtek Figat
9450111ae6 Fix possible division by zero in Plane.Normalize
#648
2021-10-11 14:32:34 +02:00
Wojtek Figat
7a86c5fde2 Merge branch 'Minor-Changes' of git://github.com/intolerantape/FlaxEngine into intolerantape-Minor-Changes 2021-10-11 09:40:06 +02:00
Wojtek Figat
48a867ef16 Add PS5 platform defines and types 2021-10-08 16:25:16 +02:00
Wojtek Figat
3e04a15fe5 Add Utilities::CountBits 2021-10-05 21:54:21 +02:00
Wojtek Figat
cabd06dd53 Add C++ lambda support for Function<> and Delegate<> 2021-10-05 13:07:38 +02:00
intolerantape
9ee0773ab1 Moved the various Vector::Angle functions into their respective CPP files.
They didn't seem like prime candidates for inlining.
2021-09-30 13:30:55 -07:00
intolerantape
f25dae2da2 Added Double3::Angle 2021-09-30 12:24:30 -07:00
intolerantape
31c92cd94c Added Double2::Angle() 2021-09-30 12:22:12 -07:00
intolerantape
06a4c30cc0 Updated Double3.h and Double3.cpp
Added a constructor with Vector3 input and cleaned up some documentation. Also fixed a parameter name and some weird extra whitespace.
2021-09-29 20:46:50 -07:00
intolerantape
6150aaaa77 Update Vector4.h
Added some missing explicit tags to Vector4 constructors to match the pattern established by other Vector types.
2021-09-29 20:46:49 -07:00