FCT
载入中...
搜索中...
未找到
FCT::Vec3结构体 参考

#include <Vec.h>

FCT::Vec3 的协作图:
Collaboration graph

Public 成员函数

 operator physx::PxExtendedVec3 () const
 operator physx::PxVec3 () const
 Vec3 (const physx::PxVec3 &other)
 Vec3 (float x=0.0f, float y=0.0f, float z=0.0f)
 Vec3 (const Vec3 &other)
Vec3 operator- () const
bool operator== (const Vec3 &other) const
Vec3operator+= (const Vec3 &rhs)
bool operator< (const Vec3 &other) const
float lengthSquared () const
Vec3operator-= (const Vec3 &rhs)
Vec3 operator+ (const Vec3 &rhs) const
Vec3 operator- (const Vec3 &rhs) const
Vec3 operator* (float scalar) const
float length () const
Vec3 normalize () const
Vec3 cross (const Vec3 &other) const
Vec3 rotate (const Vec3 &axis, float angle) const
float dot (const Vec3 &rhs) const
template<class Archive>
void serialize (Archive &ar, const unsigned int version)

Public 属性

float x
float y
float z

友元

class boost::serialization::access

详细描述

在文件 Vec.h74 行定义.

构造及析构函数说明

◆ Vec3() [1/3]

FCT::Vec3::Vec3 ( const physx::PxVec3 & other)
inline

在文件 Vec.h83 行定义.

这是这个函数的调用关系图:

◆ Vec3() [2/3]

FCT::Vec3::Vec3 ( float x = 0.0f,
float y = 0.0f,
float z = 0.0f )
inline

在文件 Vec.h90 行定义.

◆ Vec3() [3/3]

FCT::Vec3::Vec3 ( const Vec3 & other)
inline

在文件 Vec.h92 行定义.

函数调用图:

成员函数说明

◆ cross()

Vec3 FCT::Vec3::cross ( const Vec3 & other) const
inline

在文件 Vec.h154 行定义.

函数调用图:
这是这个函数的调用关系图:

◆ dot()

float FCT::Vec3::dot ( const Vec3 & rhs) const
inline

在文件 Vec.h180 行定义.

函数调用图:
这是这个函数的调用关系图:

◆ length()

float FCT::Vec3::length ( ) const
inline

在文件 Vec.h145 行定义.

这是这个函数的调用关系图:

◆ lengthSquared()

float FCT::Vec3::lengthSquared ( ) const
inline

在文件 Vec.h121 行定义.

◆ normalize()

Vec3 FCT::Vec3::normalize ( ) const
inline

在文件 Vec.h149 行定义.

函数调用图:
这是这个函数的调用关系图:

◆ operator physx::PxExtendedVec3()

FCT::Vec3::operator physx::PxExtendedVec3 ( ) const
inline

在文件 Vec.h77 行定义.

◆ operator physx::PxVec3()

FCT::Vec3::operator physx::PxVec3 ( ) const
inline

在文件 Vec.h80 行定义.

◆ operator*()

Vec3 FCT::Vec3::operator* ( float scalar) const
inline

在文件 Vec.h141 行定义.

函数调用图:

◆ operator+()

Vec3 FCT::Vec3::operator+ ( const Vec3 & rhs) const
inline

在文件 Vec.h132 行定义.

函数调用图:

◆ operator+=()

Vec3 & FCT::Vec3::operator+= ( const Vec3 & rhs)
inline

在文件 Vec.h109 行定义.

函数调用图:

◆ operator-() [1/2]

Vec3 FCT::Vec3::operator- ( ) const
inline

在文件 Vec.h99 行定义.

函数调用图:

◆ operator-() [2/2]

Vec3 FCT::Vec3::operator- ( const Vec3 & rhs) const
inline

在文件 Vec.h137 行定义.

函数调用图:

◆ operator-=()

Vec3 & FCT::Vec3::operator-= ( const Vec3 & rhs)
inline

在文件 Vec.h125 行定义.

函数调用图:

◆ operator<()

bool FCT::Vec3::operator< ( const Vec3 & other) const
inline

在文件 Vec.h116 行定义.

函数调用图:

◆ operator==()

bool FCT::Vec3::operator== ( const Vec3 & other) const
inline

在文件 Vec.h104 行定义.

函数调用图:

◆ rotate()

Vec3 FCT::Vec3::rotate ( const Vec3 & axis,
float angle ) const
inline

在文件 Vec.h161 行定义.

函数调用图:

◆ serialize()

template<class Archive>
void FCT::Vec3::serialize ( Archive & ar,
const unsigned int version )
inline

在文件 Vec.h185 行定义.

◆ boost::serialization::access

friend class boost::serialization::access
friend

在文件 Vec.h183 行定义.

类成员变量说明

◆ x

float FCT::Vec3::x

在文件 Vec.h89 行定义.

◆ y

float FCT::Vec3::y

在文件 Vec.h89 行定义.

◆ z

float FCT::Vec3::z

在文件 Vec.h89 行定义.


该结构体的文档由以下文件生成: