mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +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
|
@ -2712,8 +2712,6 @@ Transform3D OpenXRAPI::transform_from_pose(const XrPosef &p_pose) {
|
|||
|
||||
template <typename T>
|
||||
XRPose::TrackingConfidence _transform_from_location(const T &p_location, Transform3D &r_transform) {
|
||||
Basis basis;
|
||||
Vector3 origin;
|
||||
XRPose::TrackingConfidence confidence = XRPose::XR_TRACKING_CONFIDENCE_NONE;
|
||||
const XrPosef &pose = p_location.pose;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue