版本

menu_open
Wwise SDK 2023.1.8
AkVectors.h
AkMatrix3x3 & operator/=(const AkReal32 f)
Definition: AkVectors.h:953
AkForceInline T3DVector & operator*=(const TDataType f)
Definition: AkVectors.h:368
AkForceInline AkQuaternion & Normalize()
Definition: AkVectors.h:1154
#define AkMin(x1, x2)
T3DVector< AkReal32 > Ak3DVector
Definition: AkVectors.h:691
TDataType X
Definition: AkVectors.h:666
bool FindIntersectionPoints(const AkPlane &in_PlaneB, AkIntersectionPoints &out_Intrs) const
Definition: AkVectors.h:1564
T3DVector(const AkVector &in_vector)
Definition: AkVectors.h:250
AkReal32 DistPoint_to_Plane(Ak3DVector in_P, Ak3DVector &out_B) const
Definition: AkVectors.h:1522
#define AKVECTORS_TWOPI
Definition: AkVectors.h:47
Ak3DVector GetUz() const
Definition: AkVectors.h:1873
T3DVector(TDataType in_x, TDataType in_y, TDataType in_z)
Definition: AkVectors.h:231
AkForceInline T3DVector Abs() const
Definition: AkVectors.h:649
AkInt32 Y
Y Position
Definition: AkVectors.h:122
static AkReal64 ACos(AkReal64 in_value)
Definition: AkVectors.h:163
Ak3DVector points[2]
Definition: AkVectors.h:1279
AkForceInline bool operator==(const T3DVector &b) const
Definition: AkVectors.h:338
AkForceInline bool IsWithin(const TBoundingBox &in_BB) const
Definition: AkVectors.h:1801
AkPlane()=default
AkForceInline Ak2DVector operator=(const Ak2DVector &b)
Definition: AkVectors.h:727
TBoundingBox< AkReal32 > AkBoundingBox
Definition: AkVectors.h:1837
T3DVector< AkReal64 > Ak3DVector64
Definition: AkVectors.h:695
#define AKVECTORS_PI
Definition: AkVectors.h:46
#define AkMax(x1, x2)
Ak3DVector GetN() const
Definition: AkVectors.h:1561
Ak3DVector PointAt(AkReal32 t) const
Definition: AkVectors.h:1300
bool Intersect(Ak3DVector A, Ak3DVector B)
Definition: AkVectors.h:1305
AkReal32 phi
Elevation
Definition: AkTypes.h:729
AkReal32 X
Definition: AkVectors.h:1272
Ak4DVector operator-(const Ak4DVector &b) const
Definition: AkVectors.h:94
bool SeparatingAxisExists(const Ak3DVector &L, const AkBox &B) const
Definition: AkVectors.h:1885
AkSafeConversion TTypeConverter
Definition: AkVectors.h:218
bool IsPointInBox(const Ak3DVector &in_Point) const
Definition: AkVectors.h:1862
TDataType Y
Definition: AkVectors.h:667
static AkReal64 Cos(AkReal64 in_value)
Definition: AkVectors.h:160
static bool IsFinite(AkReal64 in_val)
Definition: AkVectors.h:164
AkForceInline AkQuaternion Inverse() const
Definition: AkVectors.h:1164
AkForceInline AkQuaternion operator*(const AkQuaternion &Q) const
Quaternion multiplication.
Definition: AkVectors.h:1226
Ak4DVector & operator/=(const AkReal32 f)
Definition: AkVectors.h:84
Ak3DIntVector(AkInt32 x, AkInt32 y, AkInt32 z)
Definition: AkVectors.h:114
static AkQuaternion FromRotationMatrix(const AkMatrix3x3 &in_mat)
Definition: AkVectors.h:1066
void SetPlane(Ak3DVector in_p1, Ak3DVector in_p2, Ak3DVector in_p4)
Definition: AkVectors.h:1395
void OutputDebugMsg(const char *in_pszMsg)
Output a debug message on the console (Ansi string)
AkMatrix4x4()=default
static AkForceInline void Diagonal(AkMatrix3x3 &out_mat, AkReal32 in_f)
Definition: AkVectors.h:1007
T3DVector(TDataType in_scalar)
Definition: AkVectors.h:295
AkForceInline bool IsEmpty() const
Definition: AkVectors.h:1823
T3DVector< AkReal32 > Ak3DVector32
Definition: AkVectors.h:692
static void Rotation(AkMatrix3x3 &out_mat, AkReal32 in_sin, AkReal32 in_cos, const Ak3DVector &in_axis)
Definition: AkVectors.h:1034
float32x4_t AKSIMD_V4F32
Vector of 4 32-bit floats
Definition: AkSimdTypes.h:62
AkForceInline bool operator==(const Ak2DVector &b) const
Definition: AkVectors.h:770
Ak3DVector GetUx() const
Definition: AkVectors.h:1871
uint8_t AkUInt8
Unsigned 8-bit integer
void UpdateBoundingBox(AkBoundingBox &out_aabb) const
Definition: AkVectors.h:1926
static AkReal64 Sqrt(AkReal64 in_value)
Definition: AkVectors.h:162
Ak3DVector GetCenter() const
Definition: AkVectors.h:1869
static AkForceInline TDataType Determinant(const T3DVector &a, const T3DVector &b, const T3DVector &c)
Definition: AkVectors.h:540
float AkReal32
32-bit floating point
Ak2DVector & operator/=(const AkReal32 f)
Definition: AkVectors.h:761
AkForceInline T3DVector LinearCombination(const T3DVector &A, const T3DVector &B, const T3DVector &C) const
Definition: AkVectors.h:550
static AkReal32 Sqrt(AkReal32 in_value)
Definition: AkVectors.h:142
AkReal32 X
Definition: AkVectors.h:886
int32_t AkInt32
Signed 32-bit integer
AkReal32 maxt
Definition: AkVectors.h:1376
static AkMatrix3x3 FromColumnVectors(const Ak3DVector &in_col0, const Ak3DVector &in_col1, const Ak3DVector &in_col2)
Definition: AkVectors.h:932
TBoundingBox Intersect(const TBoundingBox &in_BB) const
Definition: AkVectors.h:1808
Ak2DVector()=default
AkForceInline TDataType DotProduct(const T3DVector &v2) const
Definition: AkVectors.h:608
AkForceInline T3DVector operator-(const T3DVector &b) const
Definition: AkVectors.h:466
AkForceInline T3DVector & operator/=(const TDataType f)
Definition: AkVectors.h:377
AkForceInline T3DVector operator*(const T3DVector v2) const
Definition: AkVectors.h:387
#define AKVECTORS_PIOVERTWO
Definition: AkVectors.h:48
AkForceInline bool IsFinite() const
Definition: AkVectors.h:658
Ak4DVector & operator=(const Ak4DVector &b)
Definition: AkVectors.h:74
AkForceInline bool operator!=(const Ak2DVector &b) const
Definition: AkVectors.h:775
AkForceInline void Convert(AkReal64 &out_to, AkReal32 in_from)
Definition: AkVectors.h:195
AkForceInline bool IsAllPositive() const
Definition: AkVectors.h:879
AkForceInline AkReal32 Length() const
Definition: AkVectors.h:780
Ak4DVector()
Definition: AkVectors.h:56
Ak3DVector GetSide() const
Definition: AkVectors.h:1877
AkLine()
Definition: AkVectors.h:1286
AkReal32 Y
Y Position
Definition: AkTypes.h:405
Ak2DVector(AkReal32 x, AkReal32 y)
Definition: AkVectors.h:719
static AkReal64 Sin(AkReal64 in_value)
Definition: AkVectors.h:161
AkForceInline AkMatrix3x3 & operator*=(const AkReal32 &in_f)
Definition: AkVectors.h:999
AkMatrix4x4 & operator=(AkReal32 *in_Data)
Definition: AkVectors.h:911
void Update(const TVectorType &in_point)
Definition: AkVectors.h:1775
static AkQuaternion FromAngleAndAxis(AkReal32 in_angle, const Ak3DVector &in_axis)
Definition: AkVectors.h:1136
AkForceInline TDataType LengthSquared() const
Definition: AkVectors.h:636
AkReal32 GetVolume() const
Definition: AkVectors.h:1879
AkReal32 GetD() const
Definition: AkVectors.h:1562
AkForceInline TDataType Dot(const T3DVector &v2) const
Definition: AkVectors.h:613
AkReal32 X
X Position
Definition: AkTypes.h:404
TDataType data_type
Definition: AkVectors.h:215
AkForceInline bool operator!=(const T3DVector &b) const
Definition: AkVectors.h:343
Ak2DVector operator-(const Ak2DVector &b) const
Definition: AkVectors.h:743
#define AKSIMD_GETELEMENT_V4F32(__vName, __num__)
Get the element at index num in vector __vName
Definition: AkSimd.h:37
AkReal32 m_Data[MAX_SIZE]
Definition: AkVectors.h:921
AkForceInline T3DVector operator+(const TDataType f) const
Definition: AkVectors.h:433
AkForceInline T3DVector< TDataType > operator*(const TDataType f, const T3DVector< TDataType > &v)
Definition: AkVectors.h:672
#define AKASSERT(Condition)
Definition: AkAssert.h:67
AkForceInline T3DVector operator-(const TDataType f) const
Definition: AkVectors.h:444
AkReal32 v[4]
Definition: AkVectors.h:106
Spherical coordinates.
Definition: AkTypes.h:728
static AkForceInline T3DVector Min(const T3DVector &A, const T3DVector &B)
Definition: AkVectors.h:487
AkForceInline T3DVector SphericalToCartesian(const TDataType azimuth, const TDataType elevation)
Definition: AkVectors.h:527
AkReal32 mint
Definition: AkVectors.h:1375
AkForceInline AKSIMD_V4F32 PointV4F32() const
Definition: AkVectors.h:309
AkMatrix3x3()=default
AkReal32 Z
Z Position
Definition: AkTypes.h:406
static AkForceInline void OuterProduct(AkMatrix3x3 &out_mat, const Ak3DVector &in_v0, const Ak3DVector &in_v1)
Definition: AkVectors.h:1022
AkForceInline void Convert(TReal &out_to, TReal in_from)
Definition: AkVectors.h:200
Ak3DVector GetFront() const
Definition: AkVectors.h:1875
Ak3DVector GetUy() const
Definition: AkVectors.h:1872
AkForceInline T3DVector operator+(const T3DVector &b) const
Definition: AkVectors.h:455
AkReal32 Y
Definition: AkVectors.h:887
static AkForceInline void Add(AkMatrix3x3 &out_res, const AkMatrix3x3 &in_m0, const AkMatrix3x3 &in_m1)
Definition: AkVectors.h:990
TVectorType Cast() const
Definition: AkVectors.h:702
AkMatrix4x4 & operator/=(const AkReal32 f)
Definition: AkVectors.h:903
TBoundingBox< AkReal64 > AkBoundingBox64
Definition: AkVectors.h:1838
Ak3DIntVector()=default
AkForceInline Ak3DVector UnrotateVector(const Ak3DVector32 &in_v) const
Definition: AkVectors.h:1263
AkForceInline AkReal32 & operator()(const AkUInt32 row, const AkUInt32 column)
Definition: AkVectors.h:965
AkReal32 W
Definition: AkVectors.h:1271
AkQuaternion(AkReal32 in_angle, const Ak3DVector &in_axis)
Definition: AkVectors.h:1216
AkForceInline T3DVector< TDataType > operator/(const TDataType f, const T3DVector< TDataType > &v)
Definition: AkVectors.h:678
AkLine(Ak3DVector in_L, Ak3DVector in_P)
Definition: AkVectors.h:1292
static AkQuaternion FromEulers(AkReal32 in_x, AkReal32 in_y, AkReal32 in_z)
Definition: AkVectors.h:1114
double AkReal64
64-bit floating point
static AkForceInline void CrossProductMatrix(AkMatrix3x3 &out_mat, const Ak3DVector &in_u)
Definition: AkVectors.h:1015
bool DoesRayIntersect(const Ak3DVector &in_Origin, const Ak3DVector &in_Destination, Ak3DVector &out_Intersection) const
Definition: AkVectors.h:1425
Ak3DVector P
Definition: AkVectors.h:1373
AkReal32 Z
Definition: AkVectors.h:1274
AkForceInline Ak3DVector32 operator*(const Ak3DVector32 &in_v) const
Definition: AkVectors.h:1235
AkBox()=default
AkForceInline bool operator<(const T3DVector &b) const
Definition: AkVectors.h:348
static AkReal32 Cos(AkReal32 in_value)
Definition: AkVectors.h:140
AkForceInline Ak2DVector NormalizeSpherical() const
Definition: AkVectors.h:830
AkForceInline bool IsWithin(const TVectorType &in_Point) const
Definition: AkVectors.h:1796
uint64_t AkUInt64
Unsigned 64-bit integer
AkReal64 Y
Y Position
Definition: AkTypes.h:356
#define ADD(i, j)
void Zero()
Definition: AkVectors.h:329
AkForceInline void NormalizeSpherical()
Definition: AkVectors.h:859
static AkForceInline void Rotation(AkMatrix3x3 &out_mat, AkReal32 in_angle, const Ak3DVector &in_axis)
Definition: AkVectors.h:1029
Ak3DVector GetUp() const
Definition: AkVectors.h:1876
#define AKVECTORS_EPSILON
Definition: AkVectors.h:49
TVectorType m_Max
Definition: AkVectors.h:1834
AkForceInline T3DVector Rotate180X_90Y() const
Definition: AkVectors.h:516
static AkReal32 Sin(AkReal32 in_value)
Definition: AkVectors.h:141
void Init(const Ak3DVector &in_center, const Ak3DVector &in_extent, const Ak3DVector &in_Front, const Ak3DVector &in_Up)
Definition: AkVectors.h:1845
AkReal32 theta
Azimuth
Definition: AkTypes.h:723
AkForceInline AkMatrix3x3 & operator+=(const AkMatrix3x3 &in_rhs)
Definition: AkVectors.h:984
AkReal32 Y
Definition: AkVectors.h:1273
AkForceInline bool IsValid() const
Definition: AkVectors.h:1828
Ak3DVector GetP2() const
Definition: AkVectors.h:1717
AkForceInline const AkReal32 & operator()(const AkUInt32 row, const AkUInt32 column) const
Definition: AkVectors.h:970
AkForceInline bool operator>=(const T3DVector &b) const
Definition: AkVectors.h:363
AkForceInline T3DVector operator/(const TDataType f) const
Definition: AkVectors.h:420
3D 64-bit vector. Intended as storage for world positions of sounds and objects, benefiting from 64-b...
Definition: AkTypes.h:327
AkForceInline Ak2DVector & CartesianToSpherical(const Ak3DVector &in_Cartesian)
Definition: AkVectors.h:787
AkPlane(Ak3DVector in_p1, Ak3DVector in_p2, Ak3DVector in_p4)
Definition: AkVectors.h:1384
uint32_t AkUInt32
Unsigned 32-bit integer
AkQuaternion(const Ak3DVector &in_v0, const Ak3DVector &in_v1)
Definition: AkVectors.h:1179
static AkReal32 ACos(AkReal32 in_value)
Definition: AkVectors.h:143
AkInt32 X
X Position
Definition: AkVectors.h:121
AkForceInline T3DVector operator/(const T3DVector in_rhs) const
Definition: AkVectors.h:409
#define EPSILON
Definition: AkVectors.h:1424
TDataType Z
Definition: AkVectors.h:668
3D vector for some operations in 3D space. Typically intended only for localized calculations due to ...
Definition: AkTypes.h:362
Ak3DVector GetSize() const
Definition: AkVectors.h:1868
Ak3DVector GetP1() const
Definition: AkVectors.h:1716
T3DVector(const AKSIMD_V4F32 &in_v4f32)
Definition: AkVectors.h:302
AkForceInline bool IsAllPositive() const
Definition: AkVectors.h:642
AkForceInline TDataType HorizontalMax() const
Definition: AkVectors.h:482
Ak3DVector GetP4() const
Definition: AkVectors.h:1718
AkForceInline void Convert(TToReal &out_to, TFromReal in_from)
Definition: AkVectors.h:183
AkForceInline TDataType L2_Norm() const
Definition: AkVectors.h:603
AkForceInline AkReal32 Length() const
Definition: AkVectors.h:1149
AkForceInline bool Equals(const T3DVector &b, const TDataType tolerance=static_cast< TDataType >(0.0)) const
Definition: AkVectors.h:509
AkReal64 Z
Z Position
Definition: AkTypes.h:357
AkInt32 Z
Z Position
Definition: AkVectors.h:123
AkForceInline T3DVector operator*(const TDataType f) const
Definition: AkVectors.h:398
#define AkForceInline
Definition: AkTypes.h:63
static AkForceInline T3DVector Max(const T3DVector &A, const T3DVector &B)
Definition: AkVectors.h:498
void SetReflection(AkReal32 *out_mat) const
Definition: AkVectors.h:1536
AkForceInline bool operator<=(const T3DVector &b) const
Definition: AkVectors.h:353
AkForceInline Ak3DVector operator*(const Ak3DVector &in_rhs) const
Definition: AkVectors.h:975
Ak4DVector(const AkVector &b)
Definition: AkVectors.h:64
AkForceInline T3DVector & Normalize()
Definition: AkVectors.h:585
Ak3DVector L
Definition: AkVectors.h:1372
Ak2DVector & operator*=(const AkReal32 f)
Definition: AkVectors.h:753
AkForceInline Ak3DVector RotateVector(const Ak3DVector32 &in_v) const
Definition: AkVectors.h:1240
T3DVector(const T3DVector< TFromDataType > &in_vector)
Definition: AkVectors.h:240
AkForceInline T3DVector Cross(const T3DVector &v) const
Definition: AkVectors.h:618
AkForceInline Ak2DVector operator=(const AkSphericalCoord &b)
Definition: AkVectors.h:735
AkForceInline bool operator>(const T3DVector b) const
Definition: AkVectors.h:358
AkForceInline TDataType HorizontalMin() const
Definition: AkVectors.h:477
AkForceInline Ak2DVector LinearCombination(const Ak2DVector &A, const Ak2DVector &B) const
Definition: AkVectors.h:801
static bool IsFinite(AkReal32 in_val)
Definition: AkVectors.h:144
AkReal64 X
X Position
Definition: AkTypes.h:355
AkQuaternion(AkReal32 in_W, AkReal32 in_X, AkReal32 in_Y, AkReal32 in_Z)
Definition: AkVectors.h:1058
TVectorType m_Min
Definition: AkVectors.h:1833
AkReal32 m_Data[3][3]
Definition: AkVectors.h:1049
AkForceInline TDataType Length() const
Definition: AkVectors.h:631
T3DVector(const AkVector64 &in_vector)
Definition: AkVectors.h:260
AkForceInline AKSIMD_V4F32 VectorV4F32() const
Definition: AkVectors.h:319
TBoundingBox(const TVectorType &in_min, const TVectorType &in_max)
Definition: AkVectors.h:1765

此页面对您是否有帮助?

需要技术支持?

仍有疑问?或者问题?需要更多信息?欢迎联系我们,我们可以提供帮助!

查看我们的“技术支持”页面

介绍一下自己的项目。我们会竭力为您提供帮助。

来注册自己的项目,我们帮您快速入门,不带任何附加条件!

开始 Wwise 之旅