Searched refs:rotation1 (Results 1 – 3 of 3) sorted by relevance
175 final double rotation1 = turbulencePhase * PI_ROTATE_RIGHT + 1.7 * Math.PI; in setNoisePhase() local177 (float) Math.cos(rotation1), (float) Math.sin(rotation1)); in setNoisePhase()
106 const float rotation1 = turbulencePhase * PI_ROTATE_RIGHT + 1.7 * PI; in draw() local107 setUniform2f(effectBuilder, "in_tRotation1", cos(rotation1), sin(rotation1)); in draw()
1964 private static void assertRotationsAreCorrectlyReversed(@Surface.Rotation int rotation1, in assertRotationsAreCorrectlyReversed() argument1966 if (rotation1 == ROTATION_0) { in assertRotationsAreCorrectlyReversed()1967 assertEquals(rotation1, rotation2); in assertRotationsAreCorrectlyReversed()1968 } else if (rotation1 == ROTATION_180) { in assertRotationsAreCorrectlyReversed()1969 assertEquals(rotation1, rotation2); in assertRotationsAreCorrectlyReversed()1970 } else if (rotation1 == ROTATION_90) { in assertRotationsAreCorrectlyReversed()1972 } else if (rotation1 == ROTATION_270) { in assertRotationsAreCorrectlyReversed()1975 throw new IllegalArgumentException("Unknown rotation: " + rotation1 + ", " + rotation2); in assertRotationsAreCorrectlyReversed()