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

#include <Vec.h>

FCT::Vec4 的协作图:
Collaboration graph

Public 成员函数

 Vec4 (float x=0.0f, float y=0.0f, float z=0.0f, float w=0.0f)
 Vec4 (Vec3 vec, float w=0.0f)
 Vec4 (Vec2 v, float z=0.0f, float w=0.0f)
Vec4 operator- (const Vec4 &rhs) const
Vec4 operator- () const
Vec4 normalize () const
Vec3 xyz () const

Public 属性

float x
float y
float z
float w

详细描述

在文件 Vec.h194 行定义.

构造及析构函数说明

◆ Vec4() [1/3]

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

在文件 Vec.h197 行定义.

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

◆ Vec4() [2/3]

FCT::Vec4::Vec4 ( Vec3 vec,
float w = 0.0f )
inline

在文件 Vec.h199 行定义.

◆ Vec4() [3/3]

FCT::Vec4::Vec4 ( Vec2 v,
float z = 0.0f,
float w = 0.0f )
inline

在文件 Vec.h201 行定义.

成员函数说明

◆ normalize()

Vec4 FCT::Vec4::normalize ( ) const
inline

在文件 Vec.h212 行定义.

函数调用图:

◆ operator-() [1/2]

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

在文件 Vec.h208 行定义.

函数调用图:

◆ operator-() [2/2]

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

在文件 Vec.h203 行定义.

函数调用图:

◆ xyz()

Vec3 FCT::Vec4::xyz ( ) const
inline

在文件 Vec.h220 行定义.

类成员变量说明

◆ w

float FCT::Vec4::w

在文件 Vec.h196 行定义.

◆ x

float FCT::Vec4::x

在文件 Vec.h196 行定义.

◆ y

float FCT::Vec4::y

在文件 Vec.h196 行定义.

◆ z

float FCT::Vec4::z

在文件 Vec.h196 行定义.


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