Buckets:
| /* | |
| * SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. | |
| * SPDX-License-Identifier: Apache-2.0 | |
| */ | |
| namespace Math | |
| { | |
| Quaternion const Quaternion::Identity(0, 0, 0, 1); | |
| // Rotation order is XYZ | |
| EulerAngles Quaternion::ToEulerAngles() const | |
| { | |
| return Matrix(*this).ToEulerAngles(); | |
| } | |
| Quaternion Quaternion::LookRotation(const Vector& forward, const Vector& up) | |
| { | |
| const Vector t = Vector::Cross3(up, forward).Normalize3(); | |
| return Matrix(t, Vector::Cross3(forward, t), forward).GetRotation(); | |
| } | |
| } | |
Xet Storage Details
- Size:
- 642 Bytes
- Xet hash:
- f0c152762a1352a196cb37375f4b0f2ee437088f3d8a409a5b5a904e8331fffe
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.