Commit Graph

321 Commits

Author SHA1 Message Date
Wojtek Figat
aa8add7b38 Fix large worlds rendering of meshes
Add `Double4x4` for higher precision matrices operations

#2985
2025-02-11 13:01:48 +01:00
Wojtek Figat
4baa38c0cc Add explicit cast to in vector in C# api 2025-02-11 00:32:20 +01:00
Wojtek Figat
da513972e8 Simplify message to be single-line with less text
#2990
2025-02-01 15:26:13 +01:00
Wojtek Figat
be293a957a Merge branch 'BetterRayNormAssert' of https://github.com/xxSeys1/FlaxEngine into xxSeys1-BetterRayNormAssert 2025-02-01 15:24:44 +01:00
Wojtek Figat
4057dc189d Fix SnapToGrid to skip when grid component is 0 2025-01-30 17:26:34 +01:00
Wojtek Figat
e2ed618056 Fix regression from 07aafea5af 2024-11-27 23:28:22 +01:00
Wojtek Figat
07aafea5af Fix Forward and Backward in Matrix and Matrix3x3
#3078
2024-11-26 14:54:11 +01:00
xxSeys1
703e83cd48 improve ray direction not normalized assertion message 2024-10-15 21:25:30 +02:00
Wojtek Figat
9694446fca Optimize Color32 to use packed bits for quick comparisons 2024-10-08 12:15:01 +02:00
Wojtek Figat
da203352fd Refactor old code documentation 2024-09-24 18:20:12 +02:00
Wojtek Figat
18dc475f40 Merge remote-tracking branch 'origin/master' into 1.9
# Conflicts:
#	Source/Engine/UI/GUI/Common/Button.cs
2024-09-23 14:11:05 +02:00
Wojtek Figat
ba701eb4d3 Fix compilation warnings on large worlds 2024-09-19 17:04:31 +02:00
Wojtek Figat
9daddccbed Merge remote-tracking branch 'origin/master' into 1.9
# Conflicts:
#	Source/Editor/Modules/ContentDatabaseModule.cs
#	Source/Editor/Surface/SurfaceUtils.cs
#	Source/Editor/Windows/Assets/MaterialInstanceWindow.cs
#	Source/Engine/Foliage/Foliage.cpp
#	Source/Engine/Graphics/Models/MeshBase.h
#	Source/Engine/Tools/MaterialGenerator/MaterialGenerator.Textures.cpp
2024-09-12 13:38:20 +02:00
Wojtek Figat
c26a806a35 Code cleanup
#1456
2024-09-11 19:57:57 +02:00
Wojtek Figat
653aaecaec Postmerge cleanup
#2391
2024-08-30 14:48:06 +02:00
Wojtek Figat
3b9cca30bb Merge branch 'Math' of https://github.com/cNori/FlaxEngineFork into cNori-Math 2024-08-30 13:23:43 +02:00
Wojtek Figat
21b4c7c916 Merge remote-tracking branch 'origin/master' into 1.9 2024-08-16 14:52:57 +02:00
Wojtek Figat
b551610604 Merge branch 'isnormalized_checks' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-isnormalized_checks 2024-08-15 15:21:58 +02:00
Wojtek Figat
45e83d6d15 Add feedback from PVS (static code analyzer)
https://pvs-studio.com/en/blog/posts/cpp/1153/
2024-08-15 13:01:40 +02:00
ddbdf479ae Add assertion check for normalized rections to C# Ray constructor 2024-08-07 21:18:12 +03:00
f759f94cfa Use CHECK_DEBUG over ASSERT in normalized direction checks 2024-08-07 21:18:09 +03:00
Wojtek Figat
bc313c8630 Merge remote-tracking branch 'origin/master' into 1.9 2024-08-05 20:00:39 +02:00
387e8d1dd9 Use larger epsilon in Vector IsNormalized checks 2024-08-05 18:41:41 +03:00
Wojtek Figat
e44e44d317 Merge remote-tracking branch 'origin/master' into 1.9 2024-08-05 11:08:51 +02:00
Wojtek Figat
7a635e2896 Merge branch 'assert_directions' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-assert_directions 2024-07-25 09:16:16 +02:00
Wojtek Figat
5ddf24381b Merge branch 'deprecation_messages' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-deprecation_messages 2024-07-24 16:41:49 +02:00
8b22ffe007 Fix warnings about upcoming C# reserved keywords 2024-07-20 20:46:32 +03:00
55d55212c3 Add assertions for checking against un-normalized direction vectors 2024-07-20 15:34:11 +03:00
Wojtek Figat
b33c2b4f36 Merge remote-tracking branch 'origin/master' into 1.9 2024-07-19 00:32:54 +02:00
Zode
e1cf41b94b Fix Quaternion.FromDirection giving bogus output when fed a perfect down vector 2024-07-17 01:12:17 +03:00
Wojtek Figat
559cd74647 Merge remote-tracking branch 'origin/master' into 1.9
# Conflicts:
#	Source/Engine/Audio/Audio.cpp
2024-07-05 22:18:40 +02:00
Wojtek Figat
d1e54b821b Fix asset to be soft when transformation is nan or inf
#2742
2024-07-04 18:05:47 +02:00
22b4f33984 Use consistent and less verbose deprecation messages 2024-06-17 20:43:33 +03:00
e08b57e814 Support custom deprecation messages in bindings generator 2024-06-17 20:43:14 +03:00
Wojtek Figat
e1bede1bf6 Merge remote-tracking branch 'origin/master' into 1.9 2024-06-13 17:07:37 +02:00
Wojtek Figat
abc75e6c3d Merge branch 'master' of https://github.com/z1dev/FlaxEngine into z1dev-master 2024-06-11 11:40:26 +02:00
Wojtek Figat
12cf7f0f92 Merge remote-tracking branch 'origin/master' into 1.9
# Conflicts:
#	Flax.flaxproj
2024-05-22 16:15:14 +02:00
Wojtek Figat
2529312152 Refactor Color.FromRGBA and add matching old logic Color.FromARGB
2592
2024-05-16 13:45:29 +02:00
Wojtek Figat
cdeb9a3b15 Merge remote-tracking branch 'origin/master' into 1.9
# Conflicts:
#	Content/Editor/Camera/M_Camera.flax
#	Content/Editor/CubeTexturePreviewMaterial.flax
#	Content/Editor/DebugMaterials/DDGIDebugProbes.flax
#	Content/Editor/DebugMaterials/SingleColor/Decal.flax
#	Content/Editor/DebugMaterials/SingleColor/Particle.flax
#	Content/Editor/DebugMaterials/SingleColor/Surface.flax
#	Content/Editor/DebugMaterials/SingleColor/SurfaceAdditive.flax
#	Content/Editor/DebugMaterials/SingleColor/Terrain.flax
#	Content/Editor/DefaultFontMaterial.flax
#	Content/Editor/Gizmo/FoliageBrushMaterial.flax
#	Content/Editor/Gizmo/Material.flax
#	Content/Editor/Gizmo/MaterialWire.flax
#	Content/Editor/Gizmo/SelectionOutlineMaterial.flax
#	Content/Editor/Gizmo/VertexColorsPreviewMaterial.flax
#	Content/Editor/Highlight Material.flax
#	Content/Editor/Icons/IconsMaterial.flax
#	Content/Editor/IesProfilePreviewMaterial.flax
#	Content/Editor/Particles/Particle Material Color.flax
#	Content/Editor/Particles/Smoke Material.flax
#	Content/Editor/SpriteMaterial.flax
#	Content/Editor/Terrain/Circle Brush Material.flax
#	Content/Editor/Terrain/Highlight Terrain Material.flax
#	Content/Editor/TexturePreviewMaterial.flax
#	Content/Editor/Wires Debug Material.flax
#	Content/Engine/DefaultDeformableMaterial.flax
#	Content/Engine/DefaultMaterial.flax
#	Content/Engine/DefaultTerrainMaterial.flax
#	Content/Engine/SingleColorMaterial.flax
#	Content/Engine/SkyboxMaterial.flax
#	Source/Engine/Graphics/Materials/MaterialShader.h
2024-04-23 10:30:01 +02:00
Wojtek Figat
b92fbcb3bc Add more const correctness
#2467
2024-04-22 22:53:27 +02:00
Wojtek Figat
83b9e6e32a Add Ctrl to snap points to grid in Multi Blend editor 2024-04-18 17:04:23 +02:00
Wojtek Figat
4e65b76b8c Optimize BoundingSphere.Intersects to be inlined by the compiler 2024-04-11 15:58:34 +02:00
Norite SC
137de0a8b2 forgotten how to do loops 🐛 😆 2024-04-08 01:27:58 +02:00
Norite SC
85f3fdd438 Update Vector3.cs 2024-04-07 23:29:19 +02:00
Norite SC
55be82a2c4 Update Vector3.cs 2024-04-07 03:23:52 +02:00
Norite SC
0b19d8639b changed float to Real 2024-04-07 03:02:47 +02:00
Norite SC
92b35ab3e7 GetClosest for vectos 2024-04-07 02:40:35 +02:00
Wojtek Figat
3efd1e4e84 Optimize local lights sphere mesh rendering to match the area better 2024-04-05 12:48:09 +02:00
Norite SC
18d641e2aa correct spelling mistakes and doc's
Co-Authored-By: Menotdan <32620310+Menotdan@users.noreply.github.com>
2024-04-03 14:34:51 +02:00
Norite SC
bfa3507cc6 missing cpp funcion 💩 2024-04-03 06:36:33 +02:00