Searched refs:gridSizeFloat (Results 1 – 2 of 2) sorted by relevance
234 const float gridSizeFloat = (float)m_gridSize; in PosTexCoordQuadGrid() local242 float fx0 = (float)(x+0) / gridSizeFloat; in PosTexCoordQuadGrid()243 float fx1 = (float)(x+1) / gridSizeFloat; in PosTexCoordQuadGrid()244 float fy0 = (float)(y+0) / gridSizeFloat; in PosTexCoordQuadGrid()245 float fy1 = (float)(y+1) / gridSizeFloat; in PosTexCoordQuadGrid()276 const float gridSizeFloat = (float)m_gridSize; in initializeTexCoords() local281 …Vec2 rawCoord = Vec2((float)x / gridSizeFloat, (float)y / gridSizeFloat) * texCoordParams.scale + … in initializeTexCoords()293 const float gridSizeFloat = (float)m_gridSize; in initializeTexCoords() local305 …2 rawFaceCoord = texCoordParams.scale * Vec2((float)x / gridSizeFloat, (float)y / gridSizeFloat) … in initializeTexCoords()
283 const float gridSizeFloat = (float)m_gridSize; in PosTexCoordQuadGrid() local291 float fx0 = (float)(x+0) / gridSizeFloat; in PosTexCoordQuadGrid()292 float fx1 = (float)(x+1) / gridSizeFloat; in PosTexCoordQuadGrid()293 float fy0 = (float)(y+0) / gridSizeFloat; in PosTexCoordQuadGrid()294 float fy1 = (float)(y+1) / gridSizeFloat; in PosTexCoordQuadGrid()325 const float gridSizeFloat = (float)m_gridSize; in initializeTexCoords() local330 …Vec2 rawCoord = Vec2((float)x / gridSizeFloat, (float)y / gridSizeFloat) * texCoordParams.scale + … in initializeTexCoords()342 const float gridSizeFloat = (float)m_gridSize; in initializeTexCoords() local354 …2 rawFaceCoord = texCoordParams.scale * Vec2((float)x / gridSizeFloat, (float)y / gridSizeFloat) … in initializeTexCoords()368 const float gridSizeFloat = (float)m_gridSize; in initializeTexCoords() local[all …]