Home
last modified time | relevance | path

Searched refs:gridLocation (Results 1 – 2 of 2) sorted by relevance

/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/geomipmap/picking/
DBresenhamYUpGridTracer.java49 protected Vector2f gridLocation = new Vector2f(); field in BresenhamYUpGridTracer
81 gridLocation.x = (int) (start.x / gridSpacing.x); in startWalk()
82 gridLocation.y = (int) (start.z / gridSpacing.z); in startWalk()
88 … distToNextXIntersection = ((gridLocation.x + 1) * gridSpacing.x - start.x) * ooDirection.x; in startWalk()
92 distToNextXIntersection = (start.x - (gridLocation.x * gridSpacing.x)) * -direction.x; in startWalk()
103 … distToNextZIntersection = ((gridLocation.y + 1) * gridSpacing.z - start.z) * ooDirection.z; in startWalk()
107 distToNextZIntersection = (start.z - (gridLocation.y * gridSpacing.z)) * -direction.z; in startWalk()
127 gridLocation.x += stepXDirection; in next()
142 gridLocation.y += stepZDirection; in next()
170 return gridLocation; in getGridLocation()
[all …]
/external/deqp/modules/egl/
DteglGLES2SharingTests.cpp405 GLuint gridLocation = m_gl.getAttribLocation(program.getProgram(), "a_pos"); in renderResource() local
407 TCU_CHECK(gridLocation != (GLuint)-1); in renderResource()
414 GLU_CHECK_GLW_CALL(m_gl, enableVertexAttribArray(gridLocation)); in renderResource()
420 …GLU_CHECK_GLW_CALL(m_gl, vertexAttribPointer(gridLocation, 2, GL_FLOAT, GL_FALSE, 0, &(coords[0]))… in renderResource()
424 GLU_CHECK_GLW_CALL(m_gl, disableVertexAttribArray(gridLocation)); in renderResource()