Searched refs:xrot (Results 1 – 2 of 2) sorted by relevance
204 float xrot = ((float)(now - mStartTime)) / 1000; in drawLine() local211 float newy1 = (float)(Math.sin(xrot) * z1 + Math.cos(xrot) * y1); in drawLine()212 float newy2 = (float)(Math.sin(xrot) * z2 + Math.cos(xrot) * y2); in drawLine()213 float newz1 = (float)(Math.cos(xrot) * z1 - Math.sin(xrot) * y1); in drawLine()214 float newz2 = (float)(Math.cos(xrot) * z2 - Math.sin(xrot) * y2); in drawLine()
246 float xrot = ((float)(now - mStartTime)) / 1000; in drawCube() local248 rotateAndProjectPoints(xrot, yrot); in drawCube()253 void rotateAndProjectPoints(float xrot, float yrot) { in rotateAndProjectPoints() argument261 float newy = (float)(Math.sin(xrot) * z + Math.cos(xrot) * y); in rotateAndProjectPoints()262 float newz = (float)(Math.cos(xrot) * z - Math.sin(xrot) * y); in rotateAndProjectPoints()