Sha256: e18cee02fb0459db5c9f97c90c1aed1a93b9365e375c789ac1ae97d0fefd16f7

Contents?: true

Size: 497 Bytes

Versions: 15

Compression:

Stored size: 497 Bytes

Contents

require 'mittsu'

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

15 entries across 15 versions & 1 rubygems

Version Path
mittsu-0.3.1 lib/mittsu/scenes/scene.rb
mittsu-0.3.0 lib/mittsu/scenes/scene.rb
mittsu-0.2.4 lib/mittsu/scenes/scene.rb
mittsu-0.2.3 lib/mittsu/scenes/scene.rb
mittsu-0.2.2 lib/mittsu/scenes/scene.rb
mittsu-0.2.1 lib/mittsu/scenes/scene.rb
mittsu-0.2.0 lib/mittsu/scenes/scene.rb
mittsu-0.1.7 lib/mittsu/scenes/scene.rb
mittsu-0.1.6 lib/mittsu/scenes/scene.rb
mittsu-0.1.5 lib/mittsu/scenes/scene.rb
mittsu-0.1.4 lib/mittsu/scenes/scene.rb
mittsu-0.1.3 lib/mittsu/scenes/scene.rb
mittsu-0.1.2 lib/mittsu/scenes/scene.rb
mittsu-0.1.1 lib/mittsu/scenes/scene.rb
mittsu-0.1.0 lib/mittsu/scenes/scene.rb