Sha256: 5b4a973572fde234dec472b79d66abed2fbea483701e1a26ec7e00500ce27ef1

Contents?: true

Size: 479 Bytes

Versions: 5

Compression:

Stored size: 479 Bytes

Contents

module Mittsu
  class Scene < Object3D

    attr_accessor :fog, :override_material, :auto_update

    def initialize
      super

      @type = 'Scene'

      @auto_update = true
    end

    def clone(object = Scene.new)
      super

      object.fog = fog unless fog.nil?
      object.override_material = override_material unless override_material.nil?

      object.auto_update = auto_update
      object.matrix_auto_update = matrix_auto_update
      object
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
mittsu-0.5.0 lib/mittsu/scenes/scene.rb
mittsu-0.4.1 lib/mittsu/scenes/scene.rb
mittsu-0.4.0 lib/mittsu/scenes/scene.rb
mittsu-0.3.3 lib/mittsu/scenes/scene.rb
mittsu-0.3.2 lib/mittsu/scenes/scene.rb