Definition at line 16 of file ObjectBase.hh.
|
| enum class | eFlags {
Position = 0
,
Rotation = 1
,
Matrix = 2
,
Scale = 3
} |
| |
| typedef EGG::TBitFlag< u16, eFlags > | Flags |
| |
|
| static f32 | CheckPointAgainstLineSegment (const EGG::Vector3f &point, const EGG::Vector3f &a, const EGG::Vector3f &b) |
| | Calculates on what side of line segment ab point lies.
|
| |
| static EGG::Vector3f | RotateXZByYaw (f32 angle, const EGG::Vector3f &v) |
| | Rotates a vector around the Y-axis and returns the XZ-plane portion of the vector.
|
| |
| static EGG::Vector3f | RotateAxisAngle (f32 angle, const EGG::Vector3f &axis, const EGG::Vector3f &v1) |
| |
| static void | SetRotTangentHorizontal (EGG::Matrix34f &mat, const EGG::Vector3f &up, const EGG::Vector3f &tangent) |
| |
| static EGG::Matrix34f | OrthonormalBasis (const EGG::Vector3f &v) |
| |
| static EGG::Matrix34f | RailOrthonormalBasis (const RailInterpolator &railInterpolator) |
| |
| static EGG::Vector3f | AdjustVecForward (f32 sidewaysScalar, f32 forwardScalar, f32 minSpeed, const EGG::Vector3f &src, EGG::Vector3f forward) |
| |
| static f32 | CalcParabolicDisplacement (f32 initVel, f32 accel, u32 frame) |
| | Solves the standard kinematic equation \(y(t) = v_0\, t - \frac{1}{2} a t^{2}\).
|
| |
| static EGG::Vector3f | Interpolate (f32 t, const EGG::Vector3f &v0, const EGG::Vector3f &v1) |
| |
◆ Flags
◆ eFlags
| enum class Field::ObjectBase::eFlags |
|
strong |
◆ ObjectBase() [1/2]
◆ ObjectBase() [2/2]
◆ ~ObjectBase()
| Field::ObjectBase::~ObjectBase |
( |
| ) |
|
|
virtual0x8067E3C4 |
◆ AdjustVecForward()
|
|
staticnodiscardprotected0x807DE934 |
◆ calc()
| virtual void Field::ObjectBase::calc |
( |
| ) |
|
|
inlinevirtual |
◆ calcModel()
| void Field::ObjectBase::calcModel |
( |
| ) |
|
|
virtual0x808217B8 |
◆ CalcParabolicDisplacement()
| static f32 Field::ObjectBase::CalcParabolicDisplacement |
( |
f32 | initVel, |
|
|
f32 | accel, |
|
|
u32 | frame ) |
|
inlinestaticnodiscardprotected0x806B59A8 |
Solves the standard kinematic equation \(y(t) = v_0\, t - \frac{1}{2} a t^{2}\).
Definition at line 141 of file ObjectBase.hh.
◆ calcRotLock()
| void Field::ObjectBase::calcRotLock |
( |
| ) |
|
|
protected |
◆ calcTransform()
| void Field::ObjectBase::calcTransform |
( |
| ) |
|
|
protected0x80821640 |
◆ CheckPointAgainstLineSegment()
|
|
staticnodiscardprotected0x806B38A8 |
Calculates on what side of line segment ab point lies.
Definition at line 158 of file ObjectBase.cc.
◆ createCollision()
| virtual void Field::ObjectBase::createCollision |
( |
| ) |
|
|
pure virtual |
◆ disableCollision()
| virtual void Field::ObjectBase::disableCollision |
( |
| ) |
const |
|
inlinevirtual0x80821DEC |
◆ enableCollision()
| virtual void Field::ObjectBase::enableCollision |
( |
| ) |
const |
|
inlinevirtual0x80821E00 |
◆ getCollisionRadius()
| virtual f32 Field::ObjectBase::getCollisionRadius |
( |
| ) |
const |
|
inlinenodiscardvirtual0x8080BDC0 |
◆ getKclName()
| const char * Field::ObjectBase::getKclName |
( |
| ) |
const |
|
nodiscardvirtual0x806806DC |
◆ getName()
| const char * Field::ObjectBase::getName |
( |
| ) |
const |
|
nodiscardvirtual0x80680784 |
◆ getPosition()
| virtual const EGG::Vector3f & Field::ObjectBase::getPosition |
( |
| ) |
const |
|
inlinenodiscardvirtual0x80681598 |
◆ getResources()
| const char * Field::ObjectBase::getResources |
( |
| ) |
const |
|
nodiscardvirtual0x80680730 |
◆ getUnit()
| virtual const BoxColUnit * Field::ObjectBase::getUnit |
( |
| ) |
const |
|
inlinevirtual0x80680618 |
◆ id()
| virtual ObjectId Field::ObjectBase::id |
( |
| ) |
const |
|
inlinenodiscardvirtual0x80572574 |
◆ init()
| virtual void Field::ObjectBase::init |
( |
| ) |
|
|
inlinevirtual |
◆ Interpolate()
|
|
inlinestaticnodiscardprotected0x8086C098 |
◆ linkAnims()
| void Field::ObjectBase::linkAnims |
( |
const std::span< const char * > & | names, |
|
|
const std::span< Render::AnmType > | types ) |
|
protected0x80820EB8 |
◆ loadAnims()
| virtual void Field::ObjectBase::loadAnims |
( |
| ) |
|
|
inlinevirtual |
◆ loadFlags()
| virtual u32 Field::ObjectBase::loadFlags |
( |
| ) |
const |
|
inlinenodiscardvirtual0x806BF434 |
◆ loadGraphics()
| void Field::ObjectBase::loadGraphics |
( |
| ) |
|
|
virtual0x8081FD10 |
◆ loadRail()
| void Field::ObjectBase::loadRail |
( |
| ) |
|
|
virtual0x80820980 |
◆ OrthonormalBasis()
|
|
staticnodiscardprotected0x806B3CA4 |
◆ pos()
◆ railInterpolator()
◆ RailOrthonormalBasis()
|
|
staticnodiscardprotected0x806B46A4 |
◆ resize()
| virtual void Field::ObjectBase::resize |
( |
f32 | radius, |
|
|
f32 | maxSpeed ) |
|
inlinevirtual0x80821DB8 |
◆ RotateAxisAngle()
|
|
staticnodiscardprotected0x806B3AC4 |
◆ RotateXZByYaw()
|
|
staticnodiscardprotected0x806B3900 |
Rotates a vector around the Y-axis and returns the XZ-plane portion of the vector.
Definition at line 165 of file ObjectBase.cc.
◆ scale()
◆ setMatrixFromOrthonormalBasisAndPos()
| void Field::ObjectBase::setMatrixFromOrthonormalBasisAndPos |
( |
const EGG::Vector3f & | v | ) |
|
|
protected0x808218B0 |
◆ setMatrixTangentTo()
◆ setPos()
◆ SetRotTangentHorizontal()
|
|
staticprotected0x806B41E0 |
◆ setScale()
◆ setTransform()
◆ unregisterCollision()
| virtual void Field::ObjectBase::unregisterCollision |
( |
| ) |
|
|
inlinevirtual0x80821DD8 |
◆ m_boxColUnit
◆ m_drawMdl
◆ m_flags
| Flags Field::ObjectBase::m_flags |
|
protected |
◆ m_id
| ObjectId Field::ObjectBase::m_id |
|
protected |
◆ m_mapObj
◆ m_pos
◆ m_railInterpolator
◆ m_resFile
◆ m_rot
◆ m_rotLock
| bool Field::ObjectBase::m_rotLock |
|
protected |
◆ m_scale
◆ m_transform