QtCraft API C++ classes QML types Handbook

QcEntityMesher::Turn Struct

struct QcEntityMesher::Turn

Rotation around the Y axis by a yaw in degrees: the model faces -Z; yaw 90 faces +X. More...

Header: #include <clientcore/entitymeshes/QcMeshRotation.h>

Public Functions

QcVec3 operator()(const QcVec3 &p) const

Public Variables

double cosYaw
double sinYaw

Detailed Description

Member Function Documentation

QcVec3 Turn::operator()(const QcVec3 &p) const

Returns point p turned by the yaw.

Member Variable Documentation

double Turn::cosYaw

Cosine of the yaw.

double Turn::sinYaw

Sine of the yaw.