Searched refs:gridSizeFloat (Results 1 – 2 of 2) sorted by relevance
231 const float gridSizeFloat = (float)m_gridSize; in PosTexCoordQuadGrid() local239 float fx0 = (float)(x+0) / gridSizeFloat; in PosTexCoordQuadGrid()240 float fx1 = (float)(x+1) / gridSizeFloat; in PosTexCoordQuadGrid()241 float fy0 = (float)(y+0) / gridSizeFloat; in PosTexCoordQuadGrid()242 float fy1 = (float)(y+1) / gridSizeFloat; in PosTexCoordQuadGrid()273 const float gridSizeFloat = (float)m_gridSize; in initializeTexCoords() local278 …Vec2 rawCoord = Vec2((float)x / gridSizeFloat, (float)y / gridSizeFloat) * texCoordParams.scale + … in initializeTexCoords()290 const float gridSizeFloat = (float)m_gridSize; in initializeTexCoords() local302 …2 rawFaceCoord = texCoordParams.scale * Vec2((float)x / gridSizeFloat, (float)y / gridSizeFloat) … in initializeTexCoords()
281 const float gridSizeFloat = (float)m_gridSize; in PosTexCoordQuadGrid() local289 float fx0 = (float)(x+0) / gridSizeFloat; in PosTexCoordQuadGrid()290 float fx1 = (float)(x+1) / gridSizeFloat; in PosTexCoordQuadGrid()291 float fy0 = (float)(y+0) / gridSizeFloat; in PosTexCoordQuadGrid()292 float fy1 = (float)(y+1) / gridSizeFloat; in PosTexCoordQuadGrid()323 const float gridSizeFloat = (float)m_gridSize; in initializeTexCoords() local328 …Vec2 rawCoord = Vec2((float)x / gridSizeFloat, (float)y / gridSizeFloat) * texCoordParams.scale + … in initializeTexCoords()340 const float gridSizeFloat = (float)m_gridSize; in initializeTexCoords() local352 …2 rawFaceCoord = texCoordParams.scale * Vec2((float)x / gridSizeFloat, (float)y / gridSizeFloat) … in initializeTexCoords()366 const float gridSizeFloat = (float)m_gridSize; in initializeTexCoords() local[all …]