Explorar o código

Let MMDExporter use mmd-parser

Takahiro %!s(int64=8) %!d(string=hai) anos
pai
achega
9607e090ae
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      examples/js/exporters/MMDExporter.js

+ 2 - 2
examples/js/exporters/MMDExporter.js

@@ -2,7 +2,7 @@
  * @author takahiro / http://github.com/takahirox
  *
  * Dependencies
- *  - charset-encoder-js https://github.com/takahirox/charset-encoder-js
+ *  - mmd-parser https://github.com/takahirox/mmd-parser
  */
 
 THREE.MMDExporter = function () {
@@ -14,7 +14,7 @@ THREE.MMDExporter = function () {
 
 		if ( u2sTable === undefined ) {
 
-			var encoder = new CharsetEncoder();
+			var encoder = new MMDParser.CharsetEncoder();
 			var table = encoder.s2uTable;
 			u2sTable = {};