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

#include <Vec.h>

FCT::Vec3 的协作图:
Collaboration graph

Public 成员函数

 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

Public 属性

float x
float y
float z

详细描述

在文件 Vec.h66 行定义.

构造及析构函数说明

◆ Vec3() [1/2]

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

在文件 Vec.h82 行定义.

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

◆ Vec3() [2/2]

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

在文件 Vec.h84 行定义.

函数调用图:

成员函数说明

◆ cross()

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

在文件 Vec.h146 行定义.

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

◆ dot()

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

在文件 Vec.h172 行定义.

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

◆ length()

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

在文件 Vec.h137 行定义.

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

◆ lengthSquared()

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

在文件 Vec.h113 行定义.

◆ normalize()

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

在文件 Vec.h141 行定义.

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

◆ operator*()

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

在文件 Vec.h133 行定义.

函数调用图:

◆ operator+()

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

在文件 Vec.h124 行定义.

函数调用图:

◆ operator+=()

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

在文件 Vec.h101 行定义.

函数调用图:

◆ operator-() [1/2]

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

在文件 Vec.h91 行定义.

函数调用图:

◆ operator-() [2/2]

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

在文件 Vec.h129 行定义.

函数调用图:

◆ operator-=()

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

在文件 Vec.h117 行定义.

函数调用图:

◆ operator<()

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

在文件 Vec.h108 行定义.

函数调用图:

◆ operator==()

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

在文件 Vec.h96 行定义.

函数调用图:

◆ rotate()

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

在文件 Vec.h153 行定义.

函数调用图:

类成员变量说明

◆ x

float FCT::Vec3::x

在文件 Vec.h81 行定义.

◆ y

float FCT::Vec3::y

在文件 Vec.h81 行定义.

◆ z

float FCT::Vec3::z

在文件 Vec.h81 行定义.


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