Commit Graph

166 Commits

Author SHA1 Message Date
mafiesto4 2eb51f9a83 Reformat code in Math libary 2022-05-21 20:04:12 +02:00
mafiesto4 785f8915b7 Merge remote-tracking branch 'origin/gi' into large-worlds
# Conflicts:
#	Source/Engine/Core/Math/Vector3.h
2022-05-21 19:45:13 +02:00
mafiesto4 5e6c518c39 Minor adjustments 2022-05-21 11:48:54 +02:00
mafiesto4 b7459c7311 Inline various operators in math types for better performance in Debug builds and better inlining 2022-05-21 11:36:27 +02:00
mafiesto4 2369b6a34a Add support for double serializtion in C++ 2022-05-20 15:53:50 +02:00
mafiesto4 1a64df9116 Add more math utilities 2022-05-19 16:03:54 +02:00
mafiesto4 04c0f19584 Add Double2, Double3, Double4 to C# scripting API 2022-05-18 23:23:50 +02:00
mafiesto4 523d961f28 Add various improvements for C# math library 2022-05-18 22:30:50 +02:00
mafiesto4 4a2e8d0a69 Cleanup and adjustments for vector types 2022-05-16 23:52:38 +02:00
mafiesto4 c74b66f728 Add Quaternion::RotationMatrix from Matrix3x3 rotation 2022-05-16 10:05:15 +02:00
mafiesto4 551459022d Merge remote-tracking branch 'origin/master' into gi
# Conflicts:
#	Source/Editor/Windows/Assets/VisualScriptWindow.cs
2022-05-02 10:38:14 +02:00
mafiesto4 1859d7c2f5 Inline Vector4 == operator manually 2022-05-01 21:48:35 +02:00
GoaLitiuM 703152cb2f Fix Vector2 equality comparison 2022-04-24 21:17:27 +03:00
mafiesto4 42bb4483b3 Minro tweaks to comments 2022-04-22 15:15:33 +02:00
mafiesto4 cad9bad950 Merge remote-tracking branch 'origin/master' into gi 2022-04-21 12:57:08 +02:00
mafiesto4 ddb9b327d4 Add Color.FromRGBA 2022-04-15 19:16:30 +02:00
mafiesto4 aba0e46073 Add utility ctors to Half vectors 2022-04-05 17:21:55 +02:00
mafiesto4 3ded5326a2 Add more utilities for using Matrix3x3 2022-04-04 17:09:47 +02:00
mafiesto4 92f5377f70 Merge remote-tracking branch 'origin/master' into gi
# Conflicts:
#	Flax.flaxproj
#	Source/Engine/Core/Math/Vector3.h
#	Source/Engine/Graphics/Textures/GPUTexture.cpp
#	Source/Engine/GraphicsDevice/DirectX/DX11/GPUContextDX11.cpp
#	Source/Engine/Terrain/Terrain.cpp
#	Source/Engine/Tools/ModelTool/ModelTool.Build.cs
#	Source/FlaxEngine.Gen.cs
#	Source/FlaxEngine.Gen.h
2022-03-22 13:00:21 +01:00
mafiesto4 87cb553c61 Optimize Vector3 method to be inlined more often 2022-02-28 19:14:14 +01:00
mafiesto4 8082f5f909 Minor fixes and changes 2022-02-21 20:14:46 +01:00
mafiesto4 5d4c168e1e Add Vector3::Clamp for easier inline in optimized builds 2022-02-15 12:14:31 +01:00
mafiesto4 9dc49f7165 Optimize Vector3 method to be inlined more often 2022-02-14 11:46:48 +01:00
mafiesto4 788b1a7531 Add Distance to box/point for Bounding Box 2022-02-14 10:15:38 +01:00
mafiesto4 79cacbf36e Add GetNormal to Triangle 2022-02-14 10:15:05 +01:00
mafiesto4 3c9a5bcf1a Fix CollisionsHelper::ClosestPointPointTriangle 2022-02-08 19:55:55 +01:00
mafiesto4 7e2e764e1e Fix CollisionsHelper::ClosestPointPointTriangle 2022-02-08 17:56:45 +01:00
mafiesto4 465c857ff2 Fix bounding box size setter 2022-01-17 10:12:05 +01:00
mafiesto4 cfa5aa6a61 Add math unit tests for c++ 2022-01-14 19:09:54 +01:00
mafiesto4 8c2241c6dc Update copyright year 2022-01-14 13:31:12 +01:00
mafiesto4 821ba0ec3b Add Rectangle.Distance for distance between rectangle and a point 2021-12-14 17:00:13 +01:00
mafiesto4 4a191f5f6c Merge branch 'MiscellaneousImprovements' of git://github.com/intolerantape/FlaxEngine into intolerantape-MiscellaneousImprovements 2021-12-07 18:23:20 +01:00
mafiesto4 ea71e8cbe6 Tweaks for doc comments 2021-12-07 18:23:01 +01:00
intolerantape 6ed655f8c3 Implementated Math::SinCos() overload taking doubles as parameters. 2021-12-02 07:17:38 -08:00
mafiesto4 1b3790f60e Fix regression from 74f813ed3e 2021-11-30 20:17:16 +01:00
mafiesto4 2114002803 Cleanup xml docs 2021-11-27 13:07:21 +01:00
mafiesto4 74f813ed3e Optimize UI in Editor 2021-11-27 13:07:09 +01:00
mafiesto4 a9c56caf84 Optimize Math.NearEqual 2021-11-23 23:17:05 +01:00
mafiesto4 24e5d4635d Add Mathf.Frac 2021-11-07 21:39:09 +01:00
mafiesto4 5f7112a404 Add Quaternion::FromDirection to C++ 2021-11-03 10:44:12 +01:00
mafiesto4 b79feda477 Add ToString for some packed vector types 2021-10-27 16:38:50 +02:00
mafiesto4 cc7959a390 Add explicit operator for Color32 to Int4 2021-10-25 23:23:33 +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
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