Commit Graph

258 Commits

Author SHA1 Message Date
mafiesto4 cc7959a390 Add explicit operator for Color32 to Int4 2021-10-25 23:23:33 +02:00
mafiesto4 b9e29520cf Fix __popcnt on MSVC only if SSE 4.2 is available 2021-10-25 10:52:13 +02:00
mafiesto4 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
mafiesto4 14ab99595d Fix deprecated api ignoring macros on clang 2021-10-21 18:47:00 +02:00
mafiesto4 a906e0c857 Add assertions to String index operator to prevent invalid memory access 2021-10-17 16:01:47 +02:00
mafiesto4 05ebf60dba Add PRAGMA_DISABLE_DEPRECATION_WARNINGS and PRAGMA_ENABLE_DEPRECATION_WARNINGS macros 2021-10-14 11:07:12 +02:00
mafiesto4 4e6fa25877 Add support for using DEPRECATED to mark scripting API as obsolete 2021-10-12 23:48:47 +02:00
mafiesto4 8610db2e63 Code style tweaks 2021-10-11 14:39:46 +02:00
mafiesto4 6dc40d0c93 Fix possible division by zero in BoundingFrustum::GetCorners
#648
2021-10-11 14:39:29 +02:00
mafiesto4 9450111ae6 Fix possible division by zero in Plane.Normalize
#648
2021-10-11 14:32:34 +02:00
mafiesto4 7a86c5fde2 Merge branch 'Minor-Changes' of git://github.com/intolerantape/FlaxEngine into intolerantape-Minor-Changes 2021-10-11 09:40:06 +02:00
mafiesto4 48a867ef16 Add PS5 platform defines and types 2021-10-08 16:25:16 +02:00
mafiesto4 3e04a15fe5 Add Utilities::CountBits 2021-10-05 21:54:21 +02:00
mafiesto4 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
intolerantape 6657bc924b Updated Double4.h and Double4.cpp
Added a constructor with Vector4 input and cleaned up some documentation.
2021-09-29 20:46:49 -07:00
intolerantape 81390cf860 Added InverseLerp to Math.h
Ported from C#
2021-09-29 20:46:48 -07:00
intolerantape eb928091b6 Added GetForward() and GetBackward() methods to Transform class. 2021-09-29 20:46:47 -07:00
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 3e00bcca49 Merge remote-tracking branch 'origin/master' 2021-08-31 09:36:44 +02:00
mafiesto4 50bdffb381 Tweaks 2021-08-31 09:36:15 +02:00
mafiesto4 ab8e0fdd46 Fixes for SIMD.h 2021-08-30 20:27:43 +02:00
mafiesto4 18a4ba22fe Merge branch 'double-vectors' of git://github.com/jb-perrier/FlaxEngine into jb-perrier-double-vectors 2021-08-30 16:44:11 +02:00
mafiesto4 98776a709e Refactor GDK platform settings and tools, expose more options MicrosoftGame.config 2021-08-30 16:15:06 +02:00
mafiesto4 610763b637 Fix custom setting loading regression 2021-08-28 12:16:13 +02:00
mafiesto4 e4cb87ea9e Fix loading null as Guid for object refs in C++ Json parser 2021-08-27 16:06:23 +02:00
mafiesto4 d9410f9cdd Post merge fixes and cleanup
#571
2021-08-26 17:27:38 +02:00
mafiesto4 782d29f427 Merge branch 'xboxone' of git://github.com/honzapatCZ/FlaxEngine into honzapatCZ-xboxone 2021-08-26 12:44:53 +02:00
Jean-Baptiste Perrier c20ead730b Merge branch 'master' of https://github.com/FlaxEngine/FlaxEngine into double-vectors 2021-08-18 12:50:11 +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
mafiesto4 dee4537f23 Add -new command line arg to create a new project 2021-08-16 22:50:11 +02:00
Zbigniew Skowron 49524d7418 Fixed bugs in String and StringView functions (Replace, Compare, etc.). 2021-08-15 21:29:24 +02:00
mafiesto4 151f551bc9 Merge branch 'fixing-strigview-gettext-uses' of git://github.com/Zbyl/FlaxEngine into Zbyl-fixing-strigview-gettext-uses 2021-08-13 13:57:02 +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 b91800ad9d Use Mathd for double operation in Variant 2021-08-12 13:50:09 +02:00