Ark Server API (ASA) - Wiki
|
#include "CoreTypes.h"
#include "HAL/UnrealMemory.h"
#include "Math/Color.h"
#include "Math/MathFwd.h"
#include "Math/UnrealMathSSE.h"
#include "Math/UnrealMathUtility.h"
#include "Math/Vector.h"
#include "Math/Vector4.h"
#include "Math/VectorRegister.h"
Go to the source code of this file.
Classes | |
class | TSHVectorRGB< MaxSHOrder > |
Typedefs | |
typedef TSHVector< 3 > | FSHVector3 |
typedef TSHVector< 2 > | FSHVector2 |
typedef TSHVectorRGB< 3 > | FSHVectorRGB3 |
typedef TSHVectorRGB< 2 > | FSHVectorRGB2 |
Functions | |
float | LegendrePolynomial (int32 L, int32 M, float X) |
FORCEINLINE int32 | SHGetBasisIndex (int32 L, int32 M) |
template<int32 Order> | |
class | MS_ALIGN (16) TSHVector |
GCC_ALIGN (16) | |
template<int32 Order> | |
FORCEINLINE TSHVectorRGB< Order > | operator* (const TSHVector< Order > &A, const FLinearColor &B) |
Variables | |
float | NormalizationConstants [9] |
int32 | BasisL [9] |
int32 | BasisM [9] |
GCC_ALIGN | ( | 16 | ) |
A vector of spherical harmonic coefficients.
The integral of the constant SH basis.
Default constructor.
Scalar multiplication operator.
Changed to float& from float to avoid LHS
Scalar division operator.
Addition operator.
Subtraction operator.
Dot product operator.
In-place addition operator.
Changed from (*this = *this + B;} to calculate here to avoid LHS
Now this avoids TSHVector + operator thus LHS on *this as well as Result and more
In-place subtraction operator.
Changed from (*this = *this - B;} to calculate here to avoid LHS
Now this avoids TSHVector - operator thus LHS on *this as well as Result and
In-place scalar division operator.
Changed to float& from float to avoid LHS
Changed from (*this = *this * (1.0f/B);) to calculate here to avoid LHS
Now this avoids TSHVector * operator thus LHS on *this as well as Result and LHS
In-place scalar multiplication operator.
Changed to float& from float to avoid LHS
Changed from (*this = *this * B;) to calculate here to avoid LHS
Now this avoids TSHVector * operator thus LHS on *this as well as Result and LHS
Calculates the integral of the function over the surface of the sphere.
Scales the function uniformly so its integral equals one.
Compute the direction which the spherical harmonic is highest at.
Returns the value of the SH basis L,M at the point on the sphere defined by the unit vector Vector.
The ambient incident lighting function.
FORCEINLINE TSHVectorRGB< Order > operator* | ( | const TSHVector< Order > & | A, |
const FLinearColor & | B ) |
FORCEINLINE int32 SHGetBasisIndex | ( | int32 | L, |
int32 | M ) |
|
extern |
|
extern |
|
extern |