lib/mittsu/materials/mesh_basic_material.rb in mittsu-0.1.4 vs lib/mittsu/materials/mesh_basic_material.rb in mittsu-0.1.5

- old
+ new

@@ -31,12 +31,13 @@ # morph_targets: <bool>, # # fog: <bool> # } module Mittsu - attr_accessor :color, :map, :light_map, :specular_map, :alpha_map, :env_map, :combine, :reflectivity, :refraction_ratio, :shading, :wireframe, :wireframe_linewidth, :wireframe_linecap, :wireframe_linejoin, :vertex_colors, :skinning, :morph_targets, :fog - class MeshBasicMaterial < Material + + attr_accessor :color, :map, :light_map, :specular_map, :alpha_map, :env_map, :combine, :reflectivity, :refraction_ratio, :shading, :wireframe, :wireframe_linewidth, :wireframe_linecap, :wireframe_linejoin, :vertex_colors, :skinning, :morph_targets, :fog + def initialize(parameters = {}) super() @type = 'MeshBasicMaterial'