lib/teacup/stylesheet_extensions/rotation.rb in teacup-0.3.12 vs lib/teacup/stylesheet_extensions/rotation.rb in teacup-1.0.0
- old
+ new
@@ -1,9 +1,9 @@
module Teacup
-
class Stylesheet
+
def identity
[1,0,0,0, 0,1,0,0, 0,0,1,0, 0,0,0,1]
end
def pi
@@ -32,7 +32,6 @@
def rotate matrix, angle, x, y, z
CATransform3DRotate(matrix, angle, x, y, z)
end
end
-
end