@xeokit/xeokit-sdk 2.3.0-beta-4 → 2.3.0-beta-5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/xeokit-sdk.cjs.js
CHANGED
|
@@ -8811,7 +8811,8 @@ const createRTCViewMat = (function () {
|
|
|
8811
8811
|
const rtcCenterWorld = new Float64Array(4);
|
|
8812
8812
|
const rtcCenterView = new Float64Array(4);
|
|
8813
8813
|
|
|
8814
|
-
return function (viewMat, rtcCenter, rtcViewMat
|
|
8814
|
+
return function (viewMat, rtcCenter, rtcViewMat) {
|
|
8815
|
+
rtcViewMat = rtcViewMat || tempMat;
|
|
8815
8816
|
rtcCenterWorld[0] = rtcCenter[0];
|
|
8816
8817
|
rtcCenterWorld[1] = rtcCenter[1];
|
|
8817
8818
|
rtcCenterWorld[2] = rtcCenter[2];
|
package/dist/xeokit-sdk.es.js
CHANGED
|
@@ -8807,7 +8807,8 @@ const createRTCViewMat = (function () {
|
|
|
8807
8807
|
const rtcCenterWorld = new Float64Array(4);
|
|
8808
8808
|
const rtcCenterView = new Float64Array(4);
|
|
8809
8809
|
|
|
8810
|
-
return function (viewMat, rtcCenter, rtcViewMat
|
|
8810
|
+
return function (viewMat, rtcCenter, rtcViewMat) {
|
|
8811
|
+
rtcViewMat = rtcViewMat || tempMat;
|
|
8811
8812
|
rtcCenterWorld[0] = rtcCenter[0];
|
|
8812
8813
|
rtcCenterWorld[1] = rtcCenter[1];
|
|
8813
8814
|
rtcCenterWorld[2] = rtcCenter[2];
|