|
|
@@ -16,7 +16,7 @@ import {
|
|
|
|
|
|
class USDAParser {
|
|
|
|
|
|
- parse( text, assets ) {
|
|
|
+ parseText( text ) {
|
|
|
|
|
|
const root = {};
|
|
|
|
|
|
@@ -106,6 +106,14 @@ class USDAParser {
|
|
|
|
|
|
}
|
|
|
|
|
|
+ return root;
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
+ parse( text, assets ) {
|
|
|
+
|
|
|
+ const root = this.parseText( text );
|
|
|
+
|
|
|
// Build scene graph
|
|
|
|
|
|
function findMeshGeometry( data ) {
|