onWindowResize method
dynamic
onWindowResize()
Implementation
onWindowResize() {
var scale = (_gizmos.scale.x + _gizmos.scale.y + _gizmos.scale.z) / 3;
_tbRadius = calculateTbRadius(camera);
var newRadius = _tbRadius / scale;
var curve = EllipseCurve(0, 0, newRadius, newRadius);
var points = curve.getPoints(_curvePts);
var curveGeometry = BufferGeometry().setFromPoints(points);
for (var gizmo in _gizmos.children) {
// _gizmos.children[ gizmo ].geometry = curveGeometry;
gizmo.geometry = curveGeometry;
}
dispatchEvent(_changeEvent);
}