@kitware/vtk.js 24.16.0 → 24.16.1
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/Rendering/Core/Camera.js +0 -3
- package/package.json +1 -1
package/Rendering/Core/Camera.js
CHANGED
|
@@ -61,7 +61,6 @@ function vtkCamera(publicAPI, model) {
|
|
|
61
61
|
model.position[2] = z; // recompute the focal distance
|
|
62
62
|
|
|
63
63
|
publicAPI.computeDistance();
|
|
64
|
-
publicAPI.computeCameraLightTransform();
|
|
65
64
|
publicAPI.modified();
|
|
66
65
|
};
|
|
67
66
|
|
|
@@ -75,7 +74,6 @@ function vtkCamera(publicAPI, model) {
|
|
|
75
74
|
model.focalPoint[2] = z; // recompute the focal distance
|
|
76
75
|
|
|
77
76
|
publicAPI.computeDistance();
|
|
78
|
-
publicAPI.computeCameraLightTransform();
|
|
79
77
|
publicAPI.modified();
|
|
80
78
|
};
|
|
81
79
|
|
|
@@ -97,7 +95,6 @@ function vtkCamera(publicAPI, model) {
|
|
|
97
95
|
model.focalPoint[0] = model.position[0] + vec[0] * model.distance;
|
|
98
96
|
model.focalPoint[1] = model.position[1] + vec[1] * model.distance;
|
|
99
97
|
model.focalPoint[2] = model.position[2] + vec[2] * model.distance;
|
|
100
|
-
publicAPI.computeCameraLightTransform();
|
|
101
98
|
publicAPI.modified();
|
|
102
99
|
}; //----------------------------------------------------------------------------
|
|
103
100
|
// This method must be called when the focal point or camera position changes
|