deepsea 11 months ago
parent
commit
41cf389dda
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/uwb-sample.js

+ 2 - 2
src/uwb-sample.js

@@ -47,7 +47,7 @@ function getsqlData(sdkInstance, uwbInstance) {
       fbxLoader1.setDRACOLoader(dracoLoader);
       fbxLoader1.load("../models/meshDraco.gltf", function (fbx) {
 
-        let result = g_sqlResult;
+        let result = g_PosArrayResult;
         for (var item of result) {
           let x = item.x;
           let y = item.y;
@@ -183,7 +183,7 @@ function getsqlData(sdkInstance, uwbInstance) {
       fbxLoader2.setDRACOLoader(dracoLoader);
       fbxLoader2.load("../models/mesh2Draco.gltf", function (fbx) {
 
-        let result = g_sqlResult;
+        let result = g_PosArrayResult;
         for (var item of result) {
           let x = item.x;
           let y = item.y;