Enforce template syntax typename over class
This commit is contained in:
@@ -36,7 +36,7 @@
|
||||
#include "core/math/bvh.h"
|
||||
|
||||
class GodotBroadPhase3DBVH : public GodotBroadPhase3D {
|
||||
template <class T>
|
||||
template <typename T>
|
||||
class UserPairTestFunction {
|
||||
public:
|
||||
static bool user_pair_check(const T *p_a, const T *p_b) {
|
||||
@@ -45,7 +45,7 @@ class GodotBroadPhase3DBVH : public GodotBroadPhase3D {
|
||||
}
|
||||
};
|
||||
|
||||
template <class T>
|
||||
template <typename T>
|
||||
class UserCullTestFunction {
|
||||
public:
|
||||
static bool user_cull_check(const T *p_a, const T *p_b) {
|
||||
|
||||
@@ -612,7 +612,7 @@ static void _generate_contacts_from_supports(const Vector3 *p_points_A, int p_po
|
||||
contacts_func(points_A, pointcount_A, points_B, pointcount_B, p_callback);
|
||||
}
|
||||
|
||||
template <class ShapeA, class ShapeB, bool withMargin = false>
|
||||
template <typename ShapeA, typename ShapeB, bool withMargin = false>
|
||||
class SeparatorAxisTest {
|
||||
const ShapeA *shape_A = nullptr;
|
||||
const ShapeB *shape_B = nullptr;
|
||||
|
||||
Reference in New Issue
Block a user