mirror of
https://github.com/facebookresearch/pytorch3d.git
synced 2026-03-09 21:56:00 +08:00
Fix CQS signal modernize-use-using in fbcode/vision/fair
Reviewed By: bottler Differential Revision: D94879733 fbshipit-source-id: fc35eaaa723a2a035b3b204732add7ba8b225c57
This commit is contained in:
committed by
meta-codesync[bot]
parent
d9839a95f2
commit
7a6157e38e
@@ -19,7 +19,7 @@ template <
|
|||||||
std::is_same<T, double>::value || std::is_same<T, float>::value>>
|
std::is_same<T, double>::value || std::is_same<T, float>::value>>
|
||||||
struct vec2 {
|
struct vec2 {
|
||||||
T x, y;
|
T x, y;
|
||||||
typedef T scalar_t;
|
using scalar_t = T;
|
||||||
vec2(T x, T y) : x(x), y(y) {}
|
vec2(T x, T y) : x(x), y(y) {}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ template <
|
|||||||
std::is_same<T, double>::value || std::is_same<T, float>::value>>
|
std::is_same<T, double>::value || std::is_same<T, float>::value>>
|
||||||
struct vec3 {
|
struct vec3 {
|
||||||
T x, y, z;
|
T x, y, z;
|
||||||
typedef T scalar_t;
|
using scalar_t = T;
|
||||||
vec3(T x, T y, T z) : x(x), y(y), z(z) {}
|
vec3(T x, T y, T z) : x(x), y(y), z(z) {}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user