pandemonium_engine/core/math
Relintai 951ae7b11d Backported from godot4: Add the ability to look-at in model-space.
This is a much simpler attempt to solve the same problem as #76060, but
without breaking any compatibility.

* Adds a description of what model space is in the Vector3 enums
(MODEL_* constants). This has the proper axes laid out for imported 3D
assets.
* Adds the option to `look_at` using model_space, which uses
Vector3.MODEL_FRONT as forward vector.

The attempt of this PR is to still break the assumption that there is a
single direction of forward (which is not the case in Godot)
and make it easier to understand where 3D models are facing, as well as
orienting them via look_at.

- reduz

5fdc1232ef

Also bound the new Basis helper methods.
2024-09-30 17:04:00 +02:00
..
a_star.cpp
a_star.h
aabb.cpp
aabb.h
audio_frame.cpp
audio_frame.h
basis.cpp Backported from godot4: Add the ability to look-at in model-space. 2024-09-30 17:04:00 +02:00
basis.h Backported from godot4: Add the ability to look-at in model-space. 2024-09-30 17:04:00 +02:00
bsp_tree.cpp
bsp_tree.h
bvh_abb.h
bvh_cull.inc
bvh_debug.inc
bvh_integrity.inc
bvh_logic.inc
bvh_misc.inc
bvh_pair.inc
bvh_public.inc
bvh_refit.inc
bvh_split.inc
bvh_structs.inc
bvh_tree.h
bvh.h
color_names.inc
color.cpp
color.h
convex_hull.cpp
convex_hull.h
delaunay.h
disjoint_set.cpp
disjoint_set.h
expression.cpp
expression.h
face3.cpp
face3.h
geometry.cpp
geometry.h
math_defs.h
math_fieldwise.cpp
math_fieldwise.h
math_funcs.cpp
math_funcs.h
octree_definition.inc
octree.h
plane.cpp
plane.h
projection.cpp
projection.h
quaternion.cpp
quaternion.h
quick_hull.cpp
quick_hull.h
random_number_generator.cpp
random_number_generator.h
random_pcg.cpp
random_pcg.h
rect2.cpp
rect2.h
rect2i.cpp
rect2i.h
SCsub
transform_2d.cpp
transform_2d.h
transform_interpolator.cpp
transform_interpolator.h
transform.cpp Backported from godot4: Add the ability to look-at in model-space. 2024-09-30 17:04:00 +02:00
transform.h Backported from godot4: Add the ability to look-at in model-space. 2024-09-30 17:04:00 +02:00
triangle_mesh.cpp
triangle_mesh.h
triangulate.cpp
triangulate.h
vector2.cpp
vector2.h
vector2i.cpp
vector2i.h
vector3.cpp
vector3.h
vector3i.cpp
vector3i.h
vector4.cpp
vector4.h
vector4i.cpp
vector4i.h
vertex_cache_optimizer.cpp
vertex_cache_optimizer.h