Home
last modified time | relevance | path

Searched refs:TVector2 (Results 1 – 19 of 19) sorted by relevance

/dports/games/etracer/etr-0.8.1/src/
H A Dvectors.h25 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 Dspx.cpp132 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 Dspx.h47 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 Dvectors.h61 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 Dp_glnodes.cpp141 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 Dp_teleport.cpp123 missilespeed = xs_CRoundToInt(TVector2<double>(thing->velx, thing->vely).Length()); in P_Teleport()
H A Dp_enemy.cpp2781 TVector2<double> dist(pos.x, pos.y); in A_Face()
2912 TVector2<double> xydiff(pos.x, pos.y); in DEFINE_ACTION_FUNCTION()
H A Dv_draw.cpp1268 TVector2<double> tex(x1 - originx, y - originy); in FillSimplePoly()
H A Dr_things.cpp1614 return TVector2<double>(a->deltax, a->deltay).LengthSquared() < in sv_compare2d()
1615 TVector2<double>(b->deltax, b->deltay).LengthSquared(); in sv_compare2d()
H A Dpo_man.cpp577 TVector2<double> dist; in EV_MovePolyTo()
H A Dp_mobj.cpp1688 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 Dp_acs.cpp5377 return FLOAT2FIXED(TVector2<double>(FIXED2DBL(args[0]), FIXED2DBL(args[1])).Length()); in CallFunction()
/dports/games/ecwolf/ecwolf-1.3.3-src/src/
H A Dvectors.h61 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 Dv_draw.cpp1287 TVector2<double> tex(x1 - originx, y - originy); in FillSimplePoly()
/dports/lang/fpc-source/fpc-3.2.2/tests/tbs/
H A Dtb0599.pp4 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 DListMatrix.h193 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 DGenericVector.h80 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 Da_camera.cpp180 TVector2<double> vect(fv3.x, fv3.y); in Tick()
/dports/games/zdoom/zdoom-2.8.1/src/thingdef/
H A Dthingdef_codeptr.cpp1639 TVector2<double> xydiff(pos.x, pos.y); in DEFINE_ACTION_FUNCTION_PARAMS()