mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Core: Add constexpr constructors/operators to math structs
• Begin integrating `constexpr` on math tests; use `static_assert` where appropriate
This commit is contained in:
parent
9e6ee9c5c3
commit
ea62170dac
56 changed files with 1109 additions and 1159 deletions
|
|
@ -112,7 +112,7 @@ bool GodotConeTwistJoint3D::setup(real_t p_timestep) {
|
|||
}
|
||||
|
||||
Vector3 b1Axis1, b1Axis2, b1Axis3;
|
||||
Vector3 b2Axis1, b2Axis2;
|
||||
Vector3 b2Axis1;
|
||||
|
||||
b1Axis1 = A->get_transform().basis.xform(m_rbAFrame.basis.get_column(0));
|
||||
b2Axis1 = B->get_transform().basis.xform(m_rbBFrame.basis.get_column(0));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue