Merge pull request #822 from zhehangd/fix_basis

pull/824/head
Rémi Verschelde 2022-09-01 09:36:55 +02:00 committed by GitHub
commit 162705fbed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -258,10 +258,10 @@ public:
Basis(const Vector3 &p_axis, real_t p_phi) { set_axis_angle(p_axis, p_phi); } Basis(const Vector3 &p_axis, real_t p_phi) { set_axis_angle(p_axis, p_phi); }
Basis(const Vector3 &p_axis, real_t p_phi, const Vector3 &p_scale) { set_axis_angle_scale(p_axis, p_phi, p_scale); } Basis(const Vector3 &p_axis, real_t p_phi, const Vector3 &p_scale) { set_axis_angle_scale(p_axis, p_phi, p_scale); }
inline Basis(const Vector3 &row0, const Vector3 &row1, const Vector3 &row2) { inline Basis(const Vector3 &p_x, const Vector3 &p_y, const Vector3 &p_z) {
elements[0] = row0; set_axis(0, p_x);
elements[1] = row1; set_axis(1, p_y);
elements[2] = row2; set_axis(2, p_z);
} }
inline Basis() {} inline Basis() {}