/dports/games/etracer/etr-0.8.1/src/ |
H A D | vectors.h | 25 struct TVector2 { struct 34 TVector2<T>& operator*=(T f) { argument 39 TVector2<T>& operator+=(const TVector2<T>& v) { 44 TVector2<T>& operator-=(const TVector2<T>& v) { 119 typedef TVector2<int> TVector2i; 123 constexpr TVector2<T> operator*(T f, const TVector2<T>& v) { 124 return TVector2<T>(v.x*f, v.y*f); 136 constexpr TVector2<T> operator+(const TVector2<T>& l, const TVector2<T>& r) { 149 constexpr TVector2<T> operator-(const TVector2<T>& l, const TVector2<T>& r) { 162 constexpr TVector2<T> operator-(const TVector2<T>&r) { [all …]
|
H A D | spx.cpp | 132 TVector2<T> Str_Vector2(const std::string &s, const TVector2<T> &def) { in Str_Vector2() 137 else return TVector2<T>(x, y); in Str_Vector2() 139 template TVector2<double> Str_Vector2(const std::string &s, const TVector2<double> &def); 140 template TVector2<int> Str_Vector2(const std::string &s, const TVector2<int> &def); 233 TVector2<T> SPVector2(const std::string &s, const std::string &tag, const TVector2<T>& def) { in SPVector2() 236 template TVector2<int> SPVector2(const std::string &s, const std::string &tag, const TVector2<int>&… 237 template TVector2<double> SPVector2(const std::string &s, const std::string &tag, const TVector2<do…
|
H A D | spx.h | 47 TVector2<T> Str_Vector2(const std::string &s, const TVector2<T>& def); 65 TVector2<T> SPVector2(const std::string &s, const std::string &tag, const TVector2<T>& def);
|
/dports/games/zdoom/zdoom-2.8.1/src/ |
H A D | vectors.h | 61 struct TVector2 struct 65 TVector2 () in TVector2() function 74 TVector2 (const TVector2 &other) in TVector2() function 89 TVector2 &operator= (const TVector2 &other) argument 150 friend TVector2 operator+ (const TVector2 &v, double scalar) 155 friend TVector2 operator+ (double scalar, const TVector2 &v) 179 friend TVector2 operator* (const TVector2 &v, double scalar) 203 TVector2 &operator+= (const TVector2 &other) 209 TVector2 operator+ (const TVector2 &other) const 215 TVector2 &operator-= (const TVector2 &other) [all …]
|
H A D | p_glnodes.cpp | 141 TVector2<double> vec1(seg->v2->x - seg->v1->x, seg->v2->y - seg->v1->y); in CheckForMissingSegs() 151 TVector2<double> lvec(line->dx, line->dy); in CheckForMissingSegs()
|
H A D | p_teleport.cpp | 123 missilespeed = xs_CRoundToInt(TVector2<double>(thing->velx, thing->vely).Length()); in P_Teleport()
|
H A D | p_enemy.cpp | 2781 TVector2<double> dist(pos.x, pos.y); in A_Face() 2912 TVector2<double> xydiff(pos.x, pos.y); in DEFINE_ACTION_FUNCTION()
|
H A D | v_draw.cpp | 1268 TVector2<double> tex(x1 - originx, y - originy); in FillSimplePoly()
|
H A D | r_things.cpp | 1614 return TVector2<double>(a->deltax, a->deltay).LengthSquared() < in sv_compare2d() 1615 TVector2<double>(b->deltax, b->deltay).LengthSquared(); in sv_compare2d()
|
H A D | po_man.cpp | 577 TVector2<double> dist; in EV_MovePolyTo()
|
H A D | p_mobj.cpp | 1688 double dist = MAX(1.0, TVector2<double>(vec.x, vec.y).Length()); in P_SeekerMissile() 5578 while (TVector2<double>(advance).LengthSquared() >= maxsquared); in P_CheckMissileSpawn()
|
H A D | p_acs.cpp | 5377 return FLOAT2FIXED(TVector2<double>(FIXED2DBL(args[0]), FIXED2DBL(args[1])).Length()); in CallFunction()
|
/dports/games/ecwolf/ecwolf-1.3.3-src/src/ |
H A D | vectors.h | 61 struct TVector2 struct 65 TVector2 () in TVector2() argument 74 TVector2 (const TVector2 &other) in TVector2() function 89 TVector2 &operator= (const TVector2 &other) argument 150 friend TVector2 operator+ (const TVector2 &v, double scalar) 155 friend TVector2 operator+ (double scalar, const TVector2 &v) 179 friend TVector2 operator* (const TVector2 &v, double scalar) 203 TVector2 &operator+= (const TVector2 &other) 209 TVector2 operator+ (const TVector2 &other) const 215 TVector2 &operator-= (const TVector2 &other) [all …]
|
H A D | v_draw.cpp | 1287 TVector2<double> tex(x1 - originx, y - originy); in FillSimplePoly()
|
/dports/lang/fpc-source/fpc-3.2.2/tests/tbs/ |
H A D | tb0599.pp | 4 TVector2=record 15 function Vector2Length(const v:TVector2):single; 20 function Vector2Sub(const v1,v2:TVector2):TVector2; 26 function Vector2Dist(const v1,v2:TVector2):single;
|
/dports/math/polymake/polymake-4.5/lib/core/include/ |
H A D | ListMatrix.h | 193 template <typename TVector2> 195 insert_row(const typename row_list::iterator& where, const GenericVector<TVector2>& v) in insert_row() 199 } else if (POLYMAKE_DEBUG || is_wary<TVector2>()) { in insert_row() 245 template <typename TVector2> 246 void append_row(const TVector2& v) in append_row() 261 template <typename TVector2> 262 void append_col(const TVector2& v) in append_col() 296 template <typename TVector2> 297 …typename base_t::iterator insert(typename base_t::iterator where, const GenericVector<TVector2>& v)
|
H A D | GenericVector.h | 80 template <typename TVector2> 81 void assign_impl(const TVector2& v, dense) in assign_impl() 86 template <typename TVector2> 92 template <typename TVector2, typename E2> 97 template <typename TVector2> 103 template <typename TVector2> 109 template <typename TVector2> 110 void assign(const TVector2& v) in assign() 187 template <typename TVector2> 188 void swap(GenericVector<TVector2, E>& v) in swap() argument [all …]
|
/dports/games/zdoom/zdoom-2.8.1/src/g_shared/ |
H A D | a_camera.cpp | 180 TVector2<double> vect(fv3.x, fv3.y); in Tick()
|
/dports/games/zdoom/zdoom-2.8.1/src/thingdef/ |
H A D | thingdef_codeptr.cpp | 1639 TVector2<double> xydiff(pos.x, pos.y); in DEFINE_ACTION_FUNCTION_PARAMS()
|