Searched refs:normal (Results 1 - 25 of 192) sorted by relevance

12345678

/external/jmonkeyengine/engine/src/core/com/jme3/math/
H A DPlane.java43 * point is on the non-normal side of the plane.
62 * Vector normal to the plane.
64 protected Vector3f normal = new Vector3f(); field in class:Plane
73 * default object and contains a normal of (0,0,0) and a constant of 0.
79 * Constructor instantiates a new <code>Plane</code> object. The normal
82 * @param normal
83 * the normal of the plane.
87 public Plane(Vector3f normal, float constant) { argument
88 if (normal == null) {
89 throw new IllegalArgumentException("normal canno
102 setNormal(Vector3f normal) argument
225 setOriginNormal(Vector3f origin, Vector3f normal) argument
[all...]
H A DTriangle.java55 private transient Vector3f normal; field in class:Triangle
182 * calculateNormal generates the normal for this triangle
186 if (normal == null) {
187 normal = new Vector3f(pointb);
189 normal.set(pointb);
191 normal.subtractLocal(pointa).crossLocal(pointc.x - pointa.x, pointc.y - pointa.y, pointc.z - pointa.z);
192 normal.normalizeLocal();
215 * obtains the unit length normal vector of this triangle, if set or
218 * @return the normal vector
221 if (normal
231 setNormal(Vector3f normal) argument
[all...]
/external/jmonkeyengine/engine/src/bullet-native/
H A Dcom_jme3_bullet_collision_shapes_PlaneCollisionShape.cpp50 (JNIEnv * env, jobject object, jobject normal, jfloat constant) {
53 jmeBulletUtil::convert(env, normal, &norm);
49 Java_com_jme3_bullet_collision_shapes_PlaneCollisionShape_createShape(JNIEnv * env, jobject object, jobject normal, jfloat constant) argument
/external/chromium-trace/trace-viewer/tracing/third_party/tvcm/third_party/rcssmin/tests/yui/
H A Ddataurl-dbquote-font.css27 font-weight: normal;
28 font-style: normal;
H A Ddataurl-noquote-multiline-font.css28 font-weight: normal;
29 font-style: normal;
H A Ddataurl-singlequote-font.css27 font-weight: normal;
28 font-style: normal;
/external/jmonkeyengine/engine/src/tools/jme3tools/optimize/
H A DOCTTriangle.java74 Vector3f normal = new Vector3f(pointb);
75 normal.subtractLocal(pointa).crossLocal(pointc.x-pointa.x, pointc.y-pointa.y, pointc.z-pointa.z);
76 normal.normalizeLocal();
77 return normal;
/external/mesa3d/src/gallium/state_trackers/d3d1x/progs/d3d11gears/
H A Dd3d11gears.hlsl40 float3 normal : NORMAL;
46 float3 normal : NORMAL;
59 result.normal = mul((float3x3)modelview, input.normal);
67 float3 nnormal = normalize(input.normal);
/external/eigen/Eigen/src/Geometry/
H A DHyperplane.h30 * \f$ n \cdot x + d = 0 \f$ where \f$ n \f$ is a unit normal vector of the plane (linear part)
64 /** Construct a plane from its normal \a n and a point \a e onto the plane.
65 * \warning the vector normal is assumed to be normalized.
70 normal() = n;
74 /** Constructs a plane from its normal \a n and distance to the origin \a d
76 * \warning the vector normal is assumed to be normalized.
81 normal() = n;
91 result.normal() = (p1 - p0).unitOrthogonal();
92 result.offset() = -p0.dot(result.normal());
104 result.normal()
157 inline ConstNormalReturnType normal() const { return ConstNormalReturnType(m_coeffs,0,0,dim(),1); } function in class:Eigen::Hyperplane
162 inline NormalReturnType normal() { return NormalReturnType(m_coeffs,0,0,dim(),1); } function in class:Eigen::Hyperplane
[all...]
/external/eigen/Eigen/src/Eigen2Support/Geometry/
H A DHyperplane.h29 * \f$ n \cdot x + d = 0 \f$ where \f$ n \f$ is a unit normal vector of the plane (linear part)
53 /** Construct a plane from its normal \a n and a point \a e onto the plane.
54 * \warning the vector normal is assumed to be normalized.
59 normal() = n;
63 /** Constructs a plane from its normal \a n and distance to the origin \a d
65 * \warning the vector normal is assumed to be normalized.
70 normal() = n;
80 result.normal() = (p1 - p0).unitOrthogonal();
81 result.offset() = -result.normal().eigen2_dot(p0);
92 result.normal()
136 inline const NormalReturnType normal() const { return NormalReturnType(*const_cast<Coefficients*>(&m_coeffs),0,0,dim(),1); } function in class:Eigen::Hyperplane
141 inline NormalReturnType normal() { return NormalReturnType(m_coeffs,0,0,dim(),1); } function in class:Eigen::Hyperplane
[all...]
H A DParametrizedLine.h128 direction() = hyperplane.normal().unitOrthogonal();
129 origin() = -hyperplane.normal()*hyperplane.offset();
137 return -(hyperplane.offset()+origin().eigen2_dot(hyperplane.normal()))
138 /(direction().eigen2_dot(hyperplane.normal()));
/external/jmonkeyengine/engine/src/core/com/jme3/effect/shapes/
H A DEmitterMeshConvexHullShape.java49 * The normal param is not used.
53 * @param normal
57 public void getRandomPointAndNormal(Vector3f store, Vector3f normal) { argument
58 super.getRandomPointAndNormal(store, normal);
H A DEmitterShape.java51 * This method fills in the initial position of the particle and its normal vector.
54 * @param normal
55 * store variable for initial normal
57 public void getRandomPointAndNormal(Vector3f store, Vector3f normal); argument
/external/clang/test/SemaCXX/
H A Dwarn-unused-attribute.cpp15 TestNormal normal; local
/external/mesa3d/src/mesa/tnl/
H A Dt_vb_normals.c43 GLvector4f normal; member in struct:normal_stage_data
59 /* We can only use the display list's saved normal lengths if we've
71 &store->normal ); /* resulting normals */
74 store->normal.stride = 4 * sizeof(GLfloat);
77 store->normal.stride = 0;
80 VB->AttribPtr[_TNL_ATTRIB_NORMAL] = &store->normal;
89 * to point to the appropriate normal transformation routine.
128 * transform normal vectors (just leave them in object coordinates)
159 _mesa_vector4f_alloc( &store->normal, 0, tnl->vb.Size, 32 );
172 _mesa_vector4f_free( &store->normal );
[all...]
H A Dt_vb_texgen.c101 const GLvector4f *normal,
107 const GLfloat *norm = normal->start;
110 for (i=0;i<count;i++,STRIDE_F(coord,stride),STRIDE_F(norm,normal->stride)) {
128 const GLvector4f *normal,
135 GLfloat *norm = normal->start;
138 for (i=0;i<count;i++,STRIDE_F(coord,stride),STRIDE_F(norm,normal->stride)) {
158 const GLvector4f *normal,
177 const GLvector4f *normal,
184 GLfloat *norm = normal->start;
197 STRIDE_F(norm, normal
100 build_m3( GLfloat f[][3], GLfloat m[], const GLvector4f *normal, const GLvector4f *eye ) argument
127 build_m2( GLfloat f[][3], GLfloat m[], const GLvector4f *normal, const GLvector4f *eye ) argument
175 build_f3( GLfloat *f, GLuint fstride, const GLvector4f *normal, const GLvector4f *eye ) argument
202 build_f2( GLfloat *f, GLuint fstride, const GLvector4f *normal, const GLvector4f *eye ) argument
280 GLvector4f *normal = VB->AttribPtr[_TNL_ATTRIB_NORMAL]; local
345 const GLvector4f *normal = VB->AttribPtr[_TNL_ATTRIB_NORMAL]; local
[all...]
/external/replicaisland/src/com/replica/replicaisland/
H A DSolidSurfaceComponent.java75 public void addSurface(Vector2 startPoint, Vector2 endPoint, Vector2 normal) { argument
78 mNormals.add(normal);
95 Vector2 normal = mNormal;
118 normal.set(normals.get(x));
120 normal.flipHorizontal(0);
124 normal.flipVertical(0);
127 collision.addTemporarySurface(start, end, normal, parentObject);
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/geomipmap/
H A DTerrainPatch.java310 * recalculate all of the normal vectors in this terrain patch
324 private void setInBuffer(Mesh mesh, int index, Vector3f normal, Vector3f tangent, Vector3f binormal) { argument
328 BufferUtils.setInBuffer(normal, (FloatBuffer)NB.getData(), index);
370 Vector3f normal = new Vector3f();
385 averageNormalsTangents(null, rootPoint, leftPoint, bottomPoint, rightPoint, normal, tangent, binormal);
386 setInBuffer(this.getMesh(), s, normal, tangent, binormal);
387 setInBuffer(right.getMesh(), 0, normal, tangent, binormal);
391 averageNormalsTangents(topPoint, rootPoint, leftPoint, bottomPoint, rightPoint,normal, tangent, binormal);
392 setInBuffer(this.getMesh(), s, normal, tangent, binormal);
393 setInBuffer(right.getMesh(), 0, normal, tangen
532 averageNormalsTangents( Vector3f topPoint, Vector3f rootPoint, Vector3f leftPoint, Vector3f bottomPoint, Vector3f rightPoint, Vector3f normal, Vector3f tangent, Vector3f binormal) argument
[all...]
/external/apache-commons-math/src/main/java/org/apache/commons/math/distribution/
H A DPoissonDistributionImpl.java51 /** Distribution used to compute normal approximation. */
52 private NormalDistribution normal; field in class:PoissonDistributionImpl
128 * @param z a normal distribution used to compute normal approximations.
159 setNormalAndMeanInternal(normal, p);
176 normal = z;
177 normal.setMean(p);
178 normal.setStandardDeviation(FastMath.sqrt(p));
223 * Calculates the Poisson distribution function using a normal
227 * The computation uses "half-correction" -- evaluating the normal
[all...]
/external/iproute2/netem/
H A DMakefile1 DISTGEN = maketable normal pareto paretonormal
2 DISTDATA = normal.dist pareto.dist paretonormal.dist experimental.dist
H A Dnormal.c18 normal(double x, double mu, double sigma) function
32 i = rint(TABLESIZE * normal(x, 0.0, 1.0));
37 printf("# This is the distribution table for the normal distribution.\n");
/external/mesa3d/src/gallium/state_trackers/vega/
H A Dbezier.h77 float *point, float *normal);
79 float *point, float *normal);
/external/jmonkeyengine/engine/src/core/com/jme3/collision/bih/
H A DBIHTriangle.java70 Vector3f normal = new Vector3f(pointb);
71 normal.subtractLocal(pointa).crossLocal(pointc.x-pointa.x, pointc.y-pointa.y, pointc.z-pointa.z);
72 normal.normalizeLocal();
73 return normal;
/external/skia/src/core/
H A DSkStrokerPriv.cpp15 const SkVector& normal, const SkPoint& stop,
22 const SkVector& normal, const SkPoint& stop,
26 normal.rotateCW(&parallel);
30 path->conicTo(projectedCenter + normal, projectedCenter, SK_ScalarRoot2Over2);
31 path->conicTo(projectedCenter - normal, stop, SK_ScalarRoot2Over2);
35 const SkVector& normal, const SkPoint& stop,
39 normal.rotateCW(&parallel);
43 path->setLastPt(pivot.fX + normal.fX + parallel.fX, pivot.fY + normal.fY + parallel.fY);
44 path->lineTo(pivot.fX - normal
14 ButtCapper(SkPath* path, const SkPoint& pivot, const SkVector& normal, const SkPoint& stop, SkPath*) argument
21 RoundCapper(SkPath* path, const SkPoint& pivot, const SkVector& normal, const SkPoint& stop, SkPath*) argument
34 SquareCapper(SkPath* path, const SkPoint& pivot, const SkVector& normal, const SkPoint& stop, SkPath* otherPath) argument
[all...]
/external/skia/src/effects/
H A DSkDiscretePathEffect.cpp16 SkVector normal = tangent; local
17 normal.rotateCCW();
18 normal.setLength(scale);
19 *p += normal;

Completed in 2178 milliseconds

12345678