Searched refs:yrot (Results 1 – 2 of 2) sorted by relevance
205 float yrot = (0.5f - mOffset) * 2.0f; in drawLine() local217 float newx1 = (float)(Math.sin(yrot) * newz1 + Math.cos(yrot) * x1); in drawLine()218 float newx2 = (float)(Math.sin(yrot) * newz2 + Math.cos(yrot) * x2); in drawLine()219 newz1 = (float)(Math.cos(yrot) * newz1 - Math.sin(yrot) * x1); in drawLine()220 newz2 = (float)(Math.cos(yrot) * newz2 - Math.sin(yrot) * x2); in drawLine()
247 float yrot = (0.5f - mOffset) * 2.0f; in drawCube() local248 rotateAndProjectPoints(xrot, yrot); in drawCube()253 void rotateAndProjectPoints(float xrot, float yrot) { in rotateAndProjectPoints() argument265 float newx = (float)(Math.sin(yrot) * newz + Math.cos(yrot) * x); in rotateAndProjectPoints()266 newz = (float)(Math.cos(yrot) * newz - Math.sin(yrot) * x); in rotateAndProjectPoints()