move Filament headers to own directory under iOS/macOS
This commit is contained in:
@@ -25,10 +25,7 @@
|
||||
#include <stdint.h>
|
||||
#include <sys/types.h>
|
||||
|
||||
namespace filament {
|
||||
namespace math {
|
||||
namespace details {
|
||||
// -------------------------------------------------------------------------------------
|
||||
namespace filament::math::details {
|
||||
|
||||
/*
|
||||
* No user serviceable parts here.
|
||||
@@ -49,7 +46,7 @@ namespace details {
|
||||
template<template<typename T> class QUATERNION, typename T>
|
||||
class TQuatProductOperators {
|
||||
public:
|
||||
/* compound assignment from a another quaternion of the same size but different
|
||||
/* compound assignment from another quaternion of the same size but different
|
||||
* element type.
|
||||
*/
|
||||
template<typename OTHER>
|
||||
@@ -85,7 +82,7 @@ public:
|
||||
* (the first one, BASE<T> being known).
|
||||
*/
|
||||
|
||||
/* The operators below handle operation between quaternion of the same size
|
||||
/* The operators below handle operation between quaternions of the same size
|
||||
* but of a different element type.
|
||||
*/
|
||||
template<typename RT>
|
||||
@@ -127,19 +124,19 @@ public:
|
||||
*/
|
||||
friend inline
|
||||
constexpr QUATERNION<T> MATH_PURE operator*(QUATERNION<T> q, T scalar) {
|
||||
// don't pass q by reference because we need a copy anyways
|
||||
// don't pass q by reference because we need a copy anyway
|
||||
return q *= scalar;
|
||||
}
|
||||
|
||||
friend inline
|
||||
constexpr QUATERNION<T> MATH_PURE operator*(T scalar, QUATERNION<T> q) {
|
||||
// don't pass q by reference because we need a copy anyways
|
||||
// don't pass q by reference because we need a copy anyway
|
||||
return q *= scalar;
|
||||
}
|
||||
|
||||
friend inline
|
||||
constexpr QUATERNION<T> MATH_PURE operator/(QUATERNION<T> q, T scalar) {
|
||||
// don't pass q by reference because we need a copy anyways
|
||||
// don't pass q by reference because we need a copy anyway
|
||||
return q /= scalar;
|
||||
}
|
||||
};
|
||||
@@ -283,9 +280,6 @@ public:
|
||||
}
|
||||
};
|
||||
|
||||
// -------------------------------------------------------------------------------------
|
||||
} // namespace details
|
||||
} // namespace math
|
||||
} // namespace filament
|
||||
} // namespace filament::math::details
|
||||
|
||||
#endif // TNT_MATH_TQUATHELPERS_H
|
||||
|
||||
Reference in New Issue
Block a user