Commit Graph

293 Commits

Author SHA1 Message Date
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
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
387e8d1dd9 Use larger epsilon in Vector IsNormalized checks 2024-08-05 18:41:41 +03: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
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
Zode
e1cf41b94b Fix Quaternion.FromDirection giving bogus output when fed a perfect down vector 2024-07-17 01:12:17 +03:00
Wojtek Figat
d1e54b821b Fix asset to be soft when transformation is nan or inf
#2742
2024-07-04 18:05:47 +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
2529312152 Refactor Color.FromRGBA and add matching old logic Color.FromARGB
2592
2024-05-16 13:45:29 +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
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
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
Norite SC
137a60ccef will it explode ? 2024-04-03 06:34:22 +02:00
Norite SC
58d4bad400 Update Vector3.cpp 2024-04-03 06:16:46 +02:00
Norite SC
f6f1f0023a fixed compile errors 2024-04-03 06:03:31 +02:00
Norite SC
f6313b4427 Extended math lib
added
GetRotacionFromNormal
AlignRotacionToNormalAndSnapToGrid
SnapToRotatedGrid
SnapToRotatedGridWithOffset
2024-04-03 04:53:11 +02:00
z1dev
7fef21218e Alternative Rectangle function names for naming consistency. 2024-03-21 14:13:24 +01:00
Wojtek Figat
35d1d97840 Rename NumberCategoryAttribute to ValueCategoryAttribute
#2213
2024-03-19 18:30:02 +01:00
Wojtek Figat
911251cb20 Merge branch 'unit-formatting' of https://github.com/nothingTVatYT/FlaxEngine into nothingTVatYT-unit-formatting
# Conflicts:
#	Source/Editor/CustomEditors/Editors/ActorTransformEditor.cs
#	Source/Editor/Options/InterfaceOptions.cs
#	Source/Engine/Core/Math/Transform.h
2024-03-19 18:04:01 +01:00
Wojtek Figat
859c420d76 Update year in copyright note 2024-02-26 19:00:48 +01:00
Wojtek Figat
01d123b099 Add support for importing material emissive and roughness from fbx file
#2153
2024-02-23 17:46:27 +01:00
Wojtek Figat
97cb8d1b61 Clarify doc comment 2024-02-21 00:07:38 +01:00
Wojtek Figat
e5cfd872b2 Simplify math codebase 2024-02-20 17:52:51 +01:00
Wojtek Figat
8fa8eeb094 Optimize Matrix decomposition to use Matrix3x3 for rotation 2024-02-20 17:51:48 +01:00
Wojtek Figat
04da732da9 Cleanup code #1795 and unify new api in vector types 2024-02-19 23:04:59 +01:00
Wojtek Figat
358220b0b5 Merge branch 'SnapToGrid' of https://github.com/NoriteSC/FlaxEngineFork into NoriteSC-SnapToGrid 2024-02-19 22:52:33 +01:00
Wojtek Figat
2de890ca6a Codecleanup for #1482 2024-02-19 17:33:21 +01:00
Wojtek Figat
0cf39c9f8d Further improve terrain painting logic #1739r 2024-02-17 11:36:13 +01:00
Wojtek Figat
873be6ac17 Convert Matrix3x3 into normal type 2024-02-06 15:41:35 +01:00
nothingTVatYT
a0741dd9de units for quaternion, transform and more collider values 2024-01-29 08:24:55 +01:00
Wiktor Kocielski
3ab7d7fcc4 Add Half to Vector2/Vector4 2023-12-02 15:29:49 +03:00
Wojtek Figat
e177aec5fa Codestyle 2023-11-17 12:19:54 +01:00
NoriteSC
307129b4a1 added c++ PingPong and flipped sheer 2023-11-16 11:50:44 +01:00
Wojtek Figat
11b60390b6 Add GetRotationFromTo and FindBetween utilities to C# Quaternion API
#1885
2023-11-08 14:41:36 +01:00
NoriteSC
67a385a431 Merge branch 'master' into SnapToGrid 2023-10-29 03:33:44 +01:00
Wojtek Figat
c27187bd0a Fix deserializing vector types in Editor from ToString FormatException
#1802
2023-10-25 19:17:04 +02:00
Wojtek Figat
966cd973c6 Add GetHash to various math/core types
#1802
2023-10-25 18:35:59 +02:00
NoriteSC
ec02058712 Update Float2.cs 2023-10-25 16:56:45 +02:00
NoriteSC
4fb35579b5 Update Float2.cs 2023-10-25 12:12:22 +02:00