lib/mittsu/loaders/loader.rb in mittsu-0.3.2 vs lib/mittsu/loaders/loader.rb in mittsu-0.3.3

- old
+ new

@@ -149,11 +149,11 @@ end private def nearest_pow2(n) - l = Math.log(n) / Math::LN2 - Math.pow(2, Math.round(l)) + l = ::Math.log(n) / Math::LN2 + ::Math.pow(2, ::Math.round(l)) end def create_texture(where, name, source_file, repeat, offset, wrap, anisotropy) full_path = File.join(texture_path, source_file)