class SK::Transform

Attributes

position[RW]
rotation[RW]
scale[RW]

Public Class Methods

new() click to toggle source
# File lib/shirokuro/math/transform.rb, line 6
def initialize
        @position = Vec2.new
        @scale = Vec2.new(1.0, 1.0)
        @rotation = 0.0              
end