Home
last modified time | relevance | path

Searched defs:Vector2 (Results 1 – 25 of 410) sorted by relevance

12345678910>>...17

/dports/devel/godot-tools/godot-3.2.3-stable/modules/mono/glue/GodotSharp/GodotSharp/Core/
H A DVector2.cs28 public enum Axis
37 public real_t x;
41 public real_t y;
97 public Vector2 Abs() in Abs()
109 public real_t Angle() in Angle()
138 public real_t Aspect() in Aspect()
157 public Vector2 Ceil() in Ceil()
341 public Axis MaxAxis() in MaxAxis()
351 public Axis MinAxis() in MinAxis()
605 public Vector2(real_t x, real_t y) in Vector2() method
[all …]
/dports/devel/godot/godot-3.2.3-stable/modules/mono/glue/GodotSharp/GodotSharp/Core/
H A DVector2.cs28 public enum Axis
37 public real_t x;
41 public real_t y;
97 public Vector2 Abs() in Abs()
109 public real_t Angle() in Angle()
138 public real_t Aspect() in Aspect()
157 public Vector2 Ceil() in Ceil()
341 public Axis MaxAxis() in MaxAxis()
351 public Axis MinAxis() in MinAxis()
605 public Vector2(real_t x, real_t y) in Vector2() method
[all …]
/dports/games/openbve/OpenBVE-1.8.2.1/source/OpenBveApi/Math/Vectors/
H A DVector2.cs7 public struct Vector2 { struct
12 public double X;
15 public double Y;
23 public Vector2(double x, double y) { in Vector2() method
30 public Vector2(Vector2 v) in Vector2() method
182 public override int GetHashCode() in GetHashCode()
206 public bool Equals(Vector2 b) in Equals()
218 public void Normalize() { in Normalize()
254 public bool IsNullVector() { in IsNullVector()
271 public double Norm() { in Norm()
[all …]
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.Numerics/System/Numerics/
H A DVector2.cs13 public partial struct Vector2 : IEquatable<Vector2>, IFormattable struct
19 public static Vector2 Zero { get { return new Vector2(); } }
39 public override int GetHashCode() in GetHashCode()
52 public override bool Equals(object obj) in Equals()
63 public override string ToString() in ToString()
73 public string ToString(string format) in ToString()
103 public float Length() in Length()
122 public float LengthSquared() in LengthSquared()
191 public static Vector2 Normalize(Vector2 value) in Normalize()
362 public static Vector2 Add(Vector2 left, Vector2 right) in Add()
[all …]
H A DVector2_Intrinsics.cs13 public partial struct Vector2 struct
18 public Single X;
22 public Single Y;
30 public Vector2(Single value) : this(value, value) { } in Vector2() argument
38 public Vector2(Single x, Single y) in Vector2() method
51 public void CopyTo(Single[] array) in CopyTo()
64 public void CopyTo(Single[] array, int index) in CopyTo()
89 public bool Equals(Vector2 other) in Equals()
147 public static Vector2 Abs(Vector2 value) in Abs()
159 public static Vector2 SquareRoot(Vector2 value) in SquareRoot()
[all …]
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Numerics.Vectors/src/System/Numerics/
H A DVector2.cs15 public partial struct Vector2 : IEquatable<Vector2>, IFormattable struct
21 public static Vector2 Zero { get { return new Vector2(); } }
41 public override int GetHashCode() in GetHashCode()
54 public override bool Equals(object obj) in Equals()
65 public override string ToString() in ToString()
75 public string ToString(string format) in ToString()
105 public float Length() in Length()
124 public float LengthSquared() in LengthSquared()
193 public static Vector2 Normalize(Vector2 value) in Normalize()
364 public static Vector2 Add(Vector2 left, Vector2 right) in Add()
[all …]
H A DVector2_Intrinsics.cs14 public partial struct Vector2 struct
19 public Single X;
23 public Single Y;
31 public Vector2(Single value) : this(value, value) { } in Vector2() argument
39 public Vector2(Single x, Single y) in Vector2() method
52 public void CopyTo(Single[] array) in CopyTo()
65 public void CopyTo(Single[] array, int index) in CopyTo()
90 public bool Equals(Vector2 other) in Equals()
148 public static Vector2 Abs(Vector2 value) in Abs()
160 public static Vector2 SquareRoot(Vector2 value) in SquareRoot()
[all …]
/dports/graphics/glosm/glosm-glosm-0.0.2/libglosm-server/include/glosm/
H A DMath.hh54 struct Vector2 { struct
58 Vector2(): x(0), y(0) {} in Vector2() argument
59 Vector2(T x_, T y_): x(x_), y(y_) {} in Vector2() function
60 Vector2(const Vector2<T>& v): x(v.x), y(v.y) {} in Vector2() function
61 Vector2(const Vector3<T>& v): x(v.x), y(v.y) {} in Vector2() function
68 Vector2(const Vector2<TT>& v): x(v.x), y(v.y) {} in Vector2() argument
71 Vector2<LT> LongVector() const { in LongVector() argument
76 Vector2<T> operator- () const { return Vector2<T>(-x, -y); } in operator -() argument
114 LT DotProduct(const Vector2<T>& other) const { return (LT)x*(LT)other.x + (LT)y*(LT)other.y; } in DotProduct() argument
126 Vector2<T> Normalized() { in Normalized() argument
[all …]
/dports/devel/kyra/grinliz/
H A Dglvector.h38 struct Vector2 struct
50 void Add( const Vector2<T>& vec ) { in Add() argument
55 void Subtract( const Vector2<T>& vec ) { in Subtract() argument
65 friend Vector2<T> operator-( const Vector2<T>& head, const Vector2<T>& tail ) { argument
66 Vector2<T> vec = { argument
74 Vector2<T> vec = { argument
89 friend bool Equal( const Vector2<T>& a, const Vector2<T>& b, T epsilon ) { in Equal() argument
93 int Compare( const Vector2<T>& r, T epsilon ) const in Compare() argument
117 friend T Length( const Vector2<T>& a, const Vector2<T>& b ) { in Length() argument
121 void Normalize() in Normalize()
[all …]
/dports/devel/godot/godot-3.2.3-stable/core/math/
H A Dvector2.h39 struct Vector2 { struct
63 Vector2 normalized() const; argument
132 _FORCE_INLINE_ Vector2 abs() const { in abs() argument
138 Vector2 tangent() const { in tangent() argument
152 _FORCE_INLINE_ Vector2(real_t p_x, real_t p_y) { in Vector2() argument
156 _FORCE_INLINE_ Vector2() { x = y = 0; } in Vector2() argument
321 operator Vector2() const { return Vector2(x, y); } in Vector2() function
/dports/devel/godot-tools/godot-3.2.3-stable/core/math/
H A Dvector2.h39 struct Vector2 { struct
63 Vector2 normalized() const; argument
132 _FORCE_INLINE_ Vector2 abs() const { in abs() argument
138 Vector2 tangent() const { in tangent() argument
152 _FORCE_INLINE_ Vector2(real_t p_x, real_t p_y) { in Vector2() argument
156 _FORCE_INLINE_ Vector2() { x = y = 0; } in Vector2() function
321 operator Vector2() const { return Vector2(x, y); } in Vector2() function
/dports/games/widelands/widelands-build21/src/base/
H A Dvector.h26 template <typename T> struct Vector2 { struct
27 Vector2(const T& px, const T& py) : x(px), y(py) { in Vector2() function
31 static Vector2 zero() { in zero() argument
36 static Vector2 invalid() { in invalid() argument
79 template <typename Type> Vector2<Type> cast() const { in cast() argument
86 using Vector2i = Vector2<int>; argument
/dports/devel/pijul/pijul-1.0.0.a55/cargo-crates/libpijul-1.0.0-alpha.49/src/
H A Dvector2.rs1 pub(crate) struct Vector2<A> { struct
6 impl<A> Vector2<A> { argument
42 impl<A> std::ops::Index<usize> for Vector2<A> { implementation
49 impl<A> std::ops::IndexMut<usize> for Vector2<A> { implementation
55 impl<A: std::fmt::Debug> std::fmt::Debug for Vector2<A> { implementation
/dports/emulators/mess/mame-mame0226/3rdparty/bimg/3rdparty/etc2/
H A DVector.hpp12 struct Vector2 struct
14 Vector2() : x( 0 ), y( 0 ) {} in Vector2() function
15 Vector2( T v ) : x( v ), y( v ) {} in Vector2() argument
16 Vector2( T _x, T _y ) : x( _x ), y( _y ) {} in Vector2() argument
18 bool operator==( const Vector2<T>& rhs ) const { return x == rhs.x && y == rhs.y; } in operator ==() argument
19 bool operator!=( const Vector2<T>& rhs ) const { return !( *this == rhs ); } in operator !=() argument
21 Vector2<T>& operator+=( const Vector2<T>& rhs ) in operator +=() argument
27 Vector2<T>& operator-=( const Vector2<T>& rhs ) in operator -=() argument
33 Vector2<T>& operator*=( const Vector2<T>& rhs ) in operator *=() argument
44 Vector2<T> operator+( const Vector2<T>& lhs, const Vector2<T>& rhs ) in operator +() argument
/dports/emulators/mame/mame-mame0226/3rdparty/bimg/3rdparty/etc2/
H A DVector.hpp12 struct Vector2 struct
14 Vector2() : x( 0 ), y( 0 ) {} in Vector2() function
15 Vector2( T v ) : x( v ), y( v ) {} in Vector2() argument
16 Vector2( T _x, T _y ) : x( _x ), y( _y ) {} in Vector2() argument
18 bool operator==( const Vector2<T>& rhs ) const { return x == rhs.x && y == rhs.y; } in operator ==() argument
19 bool operator!=( const Vector2<T>& rhs ) const { return !( *this == rhs ); } in operator !=() argument
21 Vector2<T>& operator+=( const Vector2<T>& rhs ) in operator +=() argument
27 Vector2<T>& operator-=( const Vector2<T>& rhs ) in operator -=() argument
33 Vector2<T>& operator*=( const Vector2<T>& rhs ) in operator *=() argument
44 Vector2<T> operator+( const Vector2<T>& lhs, const Vector2<T>& rhs ) in operator +() argument
/dports/lang/gcc12-devel/gcc-12-20211205/gcc/testsuite/gdc.test/compilable/
H A Dtest16635.d17 struct Vector2 struct
24 ref const(Vector2) byRef() const in byRef() argument
/dports/graphics/reactphysics3d/reactphysics3d-0.8.0/include/reactphysics3d/mathematics/
H A DVector2.h41 struct Vector2 { struct
55 /// Constructor of the struct Vector2 argument
134 Vector2& operator=(const Vector2& vector); argument
164 inline Vector2::Vector2() : x(0.0), y(0.0) { in Vector2() function
169 inline Vector2::Vector2(decimal newX, decimal newY) : x(newX), y(newY) { in Vector2() function
174 inline Vector2::Vector2(const Vector2& vector) : x(vector.x), y(vector.y) { in Vector2() function
/dports/devel/love/love-11.3/src/common/
H A DVector.h31 struct Vector2 struct
35 Vector2() in Vector2() argument
39 Vector2(float x, float y) in Vector2() argument
43 Vector2(const Vector2 &v) in Vector2() argument
/dports/graphics/libQGLViewer/libQGLViewer-2.7.2/QGLViewer/VRender/
H A DVector2.cpp60 Vector2::Vector2 () in Vector2() function in Vector2
74 Vector2::Vector2 (const Vector2& u) in Vector2() function in Vector2
81 Vector2::Vector2 (double x,double y) in Vector2() function in Vector2
86 Vector2::Vector2 (const Vector3& u) in Vector2() function in Vector2
/dports/math/octomap/octomap-1.9.7/octovis/src/extern/QGLViewer/VRender/
H A DVector2.cpp60 Vector2::Vector2 () in Vector2() function in Vector2
74 Vector2::Vector2 (const Vector2& u) in Vector2() function in Vector2
81 Vector2::Vector2 (double x,double y) in Vector2() function in Vector2
86 Vector2::Vector2 (const Vector3& u) in Vector2() function in Vector2
/dports/graphics/ogre3d19/sinbad-ogre-dd30349ea667/OgreMain/include/
H A DOgreVector2.h61 inline Vector2() in Vector2() function
65 inline Vector2(const Real fX, const Real fY ) in Vector2() function
70 inline explicit Vector2( const Real scaler ) in Vector2() function
75 inline explicit Vector2( const Real afCoordinate[2] ) in Vector2() function
81 inline explicit Vector2( const int afCoordinate[2] ) in Vector2() function
87 inline explicit Vector2( Real* const r ) in Vector2() function
/dports/emulators/mesen/Mesen-0.9.8-4-g4c701ad6/Windows/DirectXTK/
H A DSimpleMath.h42 struct Vector2 : public XMFLOAT2 struct
44 Vector2() : XMFLOAT2(0.f, 0.f) {} in Vector2() function
45 explicit Vector2(float x) : XMFLOAT2( x, x ) {} in Vector2() argument
46 Vector2(float _x, float _y) : XMFLOAT2(_x, _y) {} in Vector2() function
48 Vector2(FXMVECTOR V) { XMStoreFloat2( this, V ); } in Vector2() argument
49 Vector2(const XMFLOAT2& V) { this->x = V.x; this->y = V.y; } in Vector2() function
54 bool operator == ( const Vector2& V ) const; argument
132 static const Vector2 Zero; argument
133 static const Vector2 One; argument
134 static const Vector2 UnitX; argument
[all …]
/dports/games/lincity-ng/lincity-ng-2.0/src/gui/
H A DVector2.hpp34 class Vector2 class
37 Vector2(float nx, float ny) in Vector2() function in Vector2
40 Vector2(const Vector2& other) in Vector2() function in Vector2
43 Vector2() in Vector2() function in Vector2
/dports/devel/bullet/bullet3-3.21/examples/ThirdPartyLibs/openvr/samples/shared/
H A DVectors.h22 struct Vector2 struct
28 Vector2() : x(0), y(0){}; in Vector2() argument
29 Vector2(float x, float y) : x(x), y(y){}; in Vector2() function
/dports/devel/py-bullet3/bullet3-3.21/examples/ThirdPartyLibs/openvr/samples/shared/
H A DVectors.h22 struct Vector2 struct
28 Vector2() : x(0), y(0){}; in Vector2() argument
29 Vector2(float x, float y) : x(x), y(y){}; in Vector2() function

12345678910>>...17