Vegastrike 0.5.1 rc1
1.0
Original sources for Vegastrike Evolved
|
#include "vegastrike.h"
#include "beam.h"
#include "bolt.h"
#include "gfx/mesh.h"
#include "unit_collide.h"
#include "physics.h"
#include "collide2/CSopcodecollider.h"
#include "collide2/csgeom2/optransfrm.h"
#include "collide2/basecollider.h"
#include "hashtable.h"
#include <string>
#include "vs_globals.h"
#include "configxml.h"
#include "collide.h"
Go to the source code of this file.
Functions | |
static bool | operator== (const Collidable &a, const Collidable &b) |
Vector | Vabs (const Vector &in) |
Matrix | WarpMatrixForCollisions (Unit *un, const Matrix &ctm) |
float | mysqr (float a) |
float | globQueryShell (QVector st, QVector dir, float radius) |
float | globQuerySphere (QVector start, QVector end, QVector pos, float radius) |
Definition at line 308 of file unit_collide.cpp.
References a, b, c, and UniverseUtil::sqrt().
Referenced by Unit::AutoPilotToErrorMessage(), and globQuerySphere().
Definition at line 331 of file unit_collide.cpp.
References e, f, globQueryShell(), and QVector.
Referenced by Unit::rayCollide().
|
static |
Unit mesh collision detection Provides various functions for collision detection
Definition at line 22 of file unit_collide.cpp.
Definition at line 106 of file unit_collide.cpp.
References Vector.
Referenced by WarpMatrixForCollisions().
Definition at line 114 of file unit_collide.cpp.
References Matrix::getR(), Unit::GetWarpVelocity(), k, Matrix::r, Unit::rSize(), SIMULATION_ATOM, v, Vabs(), and Vector.