Vegastrike 0.5.1 rc1
1.0
Original sources for Vegastrike Evolved
|
#include <matrix.h>
Public Member Functions | |
Matrix () | |
void | netswap () |
Vector | getR () const |
Vector | getQ () const |
Vector | getP () const |
Matrix (float r0, float r1, float r2, float r3, float r4, float r5, float r6, float r7, float r8, QVector pos) | |
void | InvertRotationInto (Matrix &result) const |
Matrix (const Vector &v1, const Vector &v2, const Vector &v3) | |
Matrix (const Vector &v1, const Vector &v2, const Vector &v3, const QVector &pos) | |
Matrix | operator* (const Matrix &m2) const |
Public Attributes | |
float | r [9] |
QVector | p |
|
inline |
|
inline |
Definition at line 136 of file matrix.h.
References VectorAndPositionToMatrix().
|
inline |
Definition at line 54 of file matrix.h.
Referenced by calculatenormscale(), Unit::cosAngleTo(), LocationSelect::Draw(), GameUnit< UnitType >::Draw(), Orders::LoopAround::Execute(), Orders::LoopAroundAgro::Execute(), Unit::GetOrientation(), Unit::querySphere(), and Unit::querySphereClickList().
|
inline |
Definition at line 50 of file matrix.h.
Referenced by Planet::AddSpaceElevator(), AdjustMatrix(), aim_assist(), aim_assist_debug(), calculatenormscale(), LocationSelect::Draw(), Atmosphere::Draw(), GameUnit< UnitType >::Draw(), Orders::LoopAround::Execute(), Orders::LoopAroundAgro::Execute(), Unit::GetOrientation(), ContinuousTerrain::GetUpVector(), Unit::mountSerializer(), GameUnit< UnitType >::UpdateHudMatrix(), and Unit::WriteUnitString().
|
inline |
Definition at line 46 of file matrix.h.
Referenced by ActuallyWarpTo(), Planet::AddSpaceElevator(), AdjustMatrix(), aim_assist(), aim_assist_debug(), Bolt::Bolt(), calculatenormscale(), Unit::cosAngleFromMountTo(), HaloSystem::Draw(), Atmosphere::Draw(), GameUnit< UnitType >::Draw(), GameUnit< UnitType >::DrawNow(), Orders::TurretAI::Execute(), Orders::AutoLongHaul::Execute(), Orders::FaceDirection::Execute(), Orders::LoopAround::Execute(), Orders::LoopAroundAgro::Execute(), Orders::FacePerpendicular::Execute(), Unit::GetOrientation(), ZoneMgr::isVisible(), Unit::mountSerializer(), Mount::NextMountCloser(), Unit::Rotate(), SetDirection(), HaloSystem::ShouldDraw(), Bolt::Update(), GameUnit< UnitType >::UpdateHudMatrix(), Beam::UpdatePhysics(), WarpMatrixForCollisions(), and Unit::WriteUnitString().
|
inline |
|
inline |
Definition at line 233 of file matrix.h.
References MultMatrix().
QVector Matrix::p |
Definition at line 32 of file matrix.h.
Referenced by NetBuffer::addMatrix(), Planet::AddSpaceElevator(), AdjustMatrix(), ContinuousTerrain::AdjustTerrain(), BlendTrans(), ContinuousTerrain::Collide(), LocationSelect::Draw(), Bolt::Draw(), WarpTrail::Draw(), HaloSystem::Draw(), SphereMesh::Draw(), AtmosphereHalo::Draw(), GameUnit< UnitType >::Draw(), BaseInterface::Room::BaseShip::Draw(), GameUnit< UnitType >::DrawNow(), Mesh::DrawNow(), NetBuffer::getMatrix(), GFXCenterCamera(), GFXLoadIdentity(), GFXTranslateModel(), GFXTranslateView(), GFXUploadLightState(), Identity(), Unit::InsideCollideTree(), Transformation::InvertAndToMatrix(), InvertMatrix(), InvScaleTransform(), InvTransform(), LookAtHelper(), Matrix(), MatrixToDoubles(), MatrixToVectors(), Unit::mountSerializer(), MultFloatMatrix(), MultMatrix(), netswap(), Mount::PhysicsAlignedFire(), Animation::Position(), Unit::querySphere(), Unit::rayCollide(), Rotate(), RotateAxisAngle(), Animation::SetOrientation(), Unit::SetPosAndCumPos(), Animation::SetPosition(), Transformation::to_matrix(), Transform(), Translate(), VectorAndPositionToMatrix(), ViewToModel(), WackyMultFloatMatrix(), Unit::WriteUnitString(), and Zero().
float Matrix::r[9] |
Definition at line 31 of file matrix.h.
Referenced by NetBuffer::addMatrix(), Atmosphere::Draw(), NetBuffer::getMatrix(), getP(), getQ(), getR(), Identity(), InvertMatrix(), InvertRotationInto(), Matrix(), MatrixToDoubles(), MatrixToVectors(), MultFloatMatrix(), MultMatrix(), netswap(), Mount::PhysicsAlignedFire(), QuadTree::QuadTree(), RotateFloatMatrix(), ScaleMatrix(), Transform(), TransformNormal(), Translate(), VectorAndPositionToMatrix(), ViewToModel(), WackyMultFloatMatrix(), WarpMatrixForCollisions(), and Zero().