HomeSort by relevance Sort by last modified time
    Searched defs:Vec2 (Results 1 - 25 of 31) sorted by null

1 2

  /external/clang/test/CodeGen/
arm_function_epilog.cpp 4 struct Vec2 {
10 // CHECK: define arm_aapcs_vfpcc %struct.Vec2 @_Z7getVec2v()
11 // CHECK: ret %struct.Vec2
12 Vec2 getVec2() {
13 Vec2 out;
14 union { Vec2* v; unsigned char* u; } x;
  /cts/apps/CtsVerifier/include/colorchecker/
vec2.h 24 class Vec2{
26 Vec2(T inputX, T inputY) {
31 Vec2() {}
33 inline Vec2<T> operator+ (const Vec2<T> &param) const {
34 Vec2<T> temp(mX + param.x(), mY + param.y());
38 inline Vec2<T> operator- (const Vec2<T> &param) const {
39 Vec2<T> temp(mX - param.x(), mY - param.y());
43 inline Vec2<float> operator/ (const int param) const
    [all...]
  /external/deqp/framework/common/
tcuVectorType.hpp 39 typedef Vector<float, 2> Vec2;
  /external/libgdx/extensions/gdx-box2d/gdx-box2d-gwt/src/com/badlogic/gdx/physics/box2d/gwt/emu/org/jbox2d/particle/
VoronoiDiagram.java 4 import org.jbox2d.common.Vec2;
9 final Vec2 center = new Vec2();
75 public void addGenerator(Vec2 center, int tag) {
82 private final Vec2 lower = new Vec2();
83 private final Vec2 upper = new Vec2();
107 Vec2.minToOut(lower, g.center, lower);
108 Vec2.maxToOut(upper, g.center, upper)
    [all...]
  /external/opencv3/modules/viz/src/vtk/
vtkCloudMatSource.cpp 269 typedef Vec<_Tn, 2> Vec2;
278 const Vec2* srow = _tcoords.ptr<Vec2>(y);
279 const Vec2* send = srow + _tcoords.cols;
  /development/ndk/sources/android/ndk_helper/
vecmath.h 34 class Vec2;
43 class Vec2
55 Vec2()
60 Vec2( const float fX, const float fY )
66 Vec2( const Vec2& vec )
72 Vec2( const float* pVec )
79 Vec2 operator*( const Vec2& rhs ) const
81 Vec2 ret
    [all...]
  /external/ceres-solver/examples/
libmv_homography.cc 71 typedef Eigen::Matrix<double, 2, 1> Vec2;
136 const Vec2 &x1,
137 const Vec2 &x2) {
138 Vec2 forward_error, backward_error;
247 HomographySymmetricGeometricCostFunctor(const Vec2 &x,
248 const Vec2 &y)
254 typedef Eigen::Matrix<T, 2, 1> Vec2;
257 Vec2 x(T(x_(0)), T(x_(1)));
258 Vec2 y(T(y_(0)), T(y_(1)));
268 const Vec2 x_
    [all...]
  /external/libgdx/extensions/gdx-box2d/gdx-box2d-gwt/src/com/badlogic/gdx/physics/box2d/gwt/emu/org/jbox2d/collision/
AABB.java 28 import org.jbox2d.common.Vec2;
35 public final Vec2 lowerBound;
37 public final Vec2 upperBound;
43 lowerBound = new Vec2();
44 upperBound = new Vec2();
62 public AABB(final Vec2 lowerVertex, final Vec2 upperVertex) {
73 Vec2 v = aabb.lowerBound;
76 Vec2 v1 = aabb.upperBound;
99 public final Vec2 getCenter()
    [all...]
TimeOfImpact.java 33 import org.jbox2d.common.Vec2;
313 public final Vec2 m_localPoint = new Vec2();
314 public final Vec2 m_axis = new Vec2();
319 private final Vec2 localPointA = new Vec2();
320 private final Vec2 localPointB = new Vec2();
321 private final Vec2 pointA = new Vec2()
    [all...]
Distance.java 34 import org.jbox2d.common.Vec2;
55 public final Vec2 wA = new Vec2(); // support point in shapeA
56 public final Vec2 wB = new Vec2(); // support point in shapeB
57 public final Vec2 w = new Vec2(); // wB - wA
123 Vec2 wALocal = proxyA.getVertex(v.indexA);
124 Vec2 wBLocal = proxyB.getVertex(v.indexB);
147 Vec2 wALocal = proxyA.getVertex(0)
    [all...]
  /external/libgdx/extensions/gdx-box2d/gdx-box2d-gwt/src/com/badlogic/gdx/physics/box2d/gwt/emu/org/jbox2d/common/
Vec2.java 31 public class Vec2 implements Serializable {
36 public Vec2() {
40 public Vec2(float x, float y) {
45 public Vec2(Vec2 toCopy) {
56 public final Vec2 set(float x, float y) {
63 public final Vec2 set(Vec2 v) {
70 public final Vec2 add(Vec2 v)
    [all...]
  /external/deqp/modules/gles31/scripts/
gen-implicit-conversions.py 29 from genutil import Scalar, Vec2, Vec3, Vec4, Uint, UVec2, UVec3, UVec4, CaseGroup
235 "ivec2": [Vec2(x[0], x[1]) for x in IN_IVECTOR],
236 "uvec2": [Vec2(x[0], x[1]) for x in IN_UVECTOR],
242 "vec2": [Vec2(x[0], x[1]).toFloat() for x in IN_IVECTOR],
250 "ivec2": ["uvec2", "vec2"],
251 "uvec2": ["vec2"],
259 "int": ["vec2", "vec3", "vec4", "uvec2", "uvec3", "uvec4"],
260 "uint": ["vec2", "vec3", "vec4"]
272 "float": ["vec2", "vec3", "vec4"]
    [all...]
genutil.py 217 def toVec2(self): return Vec2(self.x, self.x)
295 elif isinstance(val, Vec2):
296 return Vec2(self.x * val.x, self.x * val.y)
307 elif isinstance(val, Vec2):
308 return Vec2(self.x / val.x, self.x / val.y)
347 elif (len(lst) == 2): return Vec2(lst[0], lst[1])
375 class Vec2(Vec):
381 def applyUnary(self, func): return Vec2(func(self.x), func(self.y))
382 def applyBinary(self, func, other): return Vec2(func(self.x, other.x), func(self.y, other.y))
386 def toVec2(self): return Vec2(self.x, self.y
    [all...]
  /external/libgdx/extensions/gdx-box2d/gdx-box2d-gwt/src/com/badlogic/gdx/physics/box2d/gwt/emu/org/jbox2d/dynamics/joints/
DistanceJoint.java 52 import org.jbox2d.common.Vec2;
74 private final Vec2 m_localAnchorA;
75 private final Vec2 m_localAnchorB;
83 private final Vec2 m_u = new Vec2();
84 private final Vec2 m_rA = new Vec2();
85 private final Vec2 m_rB = new Vec2();
86 private final Vec2 m_localCenterA = new Vec2()
    [all...]
FrictionJoint.java 32 import org.jbox2d.common.Vec2;
41 private final Vec2 m_localAnchorA;
42 private final Vec2 m_localAnchorB;
45 private final Vec2 m_linearImpulse;
53 private final Vec2 m_rA = new Vec2();
54 private final Vec2 m_rB = new Vec2();
55 private final Vec2 m_localCenterA = new Vec2();
    [all...]
MouseJoint.java 31 import org.jbox2d.common.Vec2;
45 private final Vec2 m_localAnchorB = new Vec2();
46 private final Vec2 m_targetA = new Vec2();
52 private final Vec2 m_impulse = new Vec2();
58 private final Vec2 m_rB = new Vec2();
59 private final Vec2 m_localCenterB = new Vec2()
    [all...]
RopeJoint.java 6 import org.jbox2d.common.Vec2;
21 private final Vec2 m_localAnchorA = new Vec2();
22 private final Vec2 m_localAnchorB = new Vec2();
30 private final Vec2 m_u = new Vec2();
31 private final Vec2 m_rA = new Vec2();
32 private final Vec2 m_rB = new Vec2()
    [all...]
PulleyJoint.java 32 import org.jbox2d.common.Vec2;
49 private final Vec2 m_groundAnchorA = new Vec2();
50 private final Vec2 m_groundAnchorB = new Vec2();
55 private final Vec2 m_localAnchorA = new Vec2();
56 private final Vec2 m_localAnchorB = new Vec2();
64 private final Vec2 m_uA = new Vec2()
    [all...]
WeldJoint.java 33 import org.jbox2d.common.Vec2;
65 private final Vec2 m_localAnchorA;
66 private final Vec2 m_localAnchorB;
75 private final Vec2 m_rA = new Vec2();
76 private final Vec2 m_rB = new Vec2();
77 private final Vec2 m_localCenterA = new Vec2();
78 private final Vec2 m_localCenterB = new Vec2()
    [all...]
RevoluteJoint.java 31 import org.jbox2d.common.Vec2;
62 protected final Vec2 m_localAnchorA = new Vec2();
63 protected final Vec2 m_localAnchorB = new Vec2();
79 private final Vec2 m_rA = new Vec2();
80 private final Vec2 m_rB = new Vec2();
81 private final Vec2 m_localCenterA = new Vec2()
    [all...]
  /external/opencv3/3rdparty/openexr/Imath/
ImathVec.h 61 template <class T> class Vec2;
68 template <class T> class Vec2
86 Vec2 (); // no initialization
87 explicit Vec2 (T a); // (a a)
88 Vec2 (T a, T b); // (a b)
95 Vec2 (const Vec2 &v);
96 template <class S> Vec2 (const Vec2<S> &v);
98 const Vec2 & operator = (const Vec2 &v)
    [all...]
  /external/deqp/modules/gles2/scripts/
genutil.py 204 def toVec2(self): return Vec2(self.x, self.x)
261 elif isinstance(val, Vec2):
262 return Vec2(self.x * val.x, self.x * val.y)
273 elif isinstance(val, Vec2):
274 return Vec2(self.x / val.x, self.x / val.y)
287 elif (len(lst) == 2): return Vec2(lst[0], lst[1])
309 class Vec2(Vec):
315 def applyUnary(self, func): return Vec2(func(self.x), func(self.y))
316 def applyBinary(self, func, other): return Vec2(func(self.x, other.x), func(self.y, other.y))
320 def toVec2(self): return Vec2(self.x, self.y
    [all...]
  /external/deqp/modules/gles3/scripts/
genutil.py 217 def toVec2(self): return Vec2(self.x, self.x)
293 elif isinstance(val, Vec2):
294 return Vec2(self.x * val.x, self.x * val.y)
305 elif isinstance(val, Vec2):
306 return Vec2(self.x / val.x, self.x / val.y)
345 elif (len(lst) == 2): return Vec2(lst[0], lst[1])
373 class Vec2(Vec):
379 def applyUnary(self, func): return Vec2(func(self.x), func(self.y))
380 def applyBinary(self, func, other): return Vec2(func(self.x, other.x), func(self.y, other.y))
384 def toVec2(self): return Vec2(self.x, self.y
    [all...]
  /external/libgdx/extensions/gdx-box2d/gdx-box2d-gwt/src/com/badlogic/gdx/physics/box2d/gwt/emu/org/jbox2d/dynamics/
Body.java 33 import org.jbox2d.common.Vec2;
72 public final Vec2 m_linearVelocity = new Vec2();
75 public final Vec2 m_force = new Vec2();
317 public final void setTransform(Vec2 position, float angle) {
353 public final Vec2 getPosition() {
369 public final Vec2 getWorldCenter() {
376 public final Vec2 getLocalCenter() {
385 public final void setLinearVelocity(Vec2 v)
    [all...]
  /external/libgdx/extensions/gdx-box2d/gdx-box2d-gwt/src/com/badlogic/gdx/physics/box2d/gwt/emu/org/jbox2d/collision/shapes/
PolygonShape.java 33 import org.jbox2d.common.Vec2;
48 public final Vec2 m_centroid = new Vec2();
54 public final Vec2 m_vertices[];
60 public final Vec2 m_normals[];
68 private final Vec2 pool1 = new Vec2();
69 private final Vec2 pool2 = new Vec2();
70 private final Vec2 pool3 = new Vec2()
    [all...]

Completed in 283 milliseconds

1 2