Lines Matching refs:rect3d
354 private cropOversizedRect(rect3d: UiRect3D, maxDisplaySize: Size): UiRect3D {
362 const height = Math.abs(rect3d.topLeft.y - rect3d.bottomRight.y);
363 const width = Math.abs(rect3d.topLeft.x - rect3d.bottomRight.x);
366 rect3d.isOversized = true;
367 (rect3d.topLeft.x = (maxDimension - maxDisplaySize.width / 2) * -1),
368 (rect3d.bottomRight.x = maxDimension);
371 rect3d.isOversized = true;
372 rect3d.topLeft.y = (maxDimension - maxDisplaySize.height / 2) * -1;
373 rect3d.bottomRight.y = maxDimension;
376 return rect3d;
428 const rect3d = rects3d[index]; constant
431 rect3d.topLeft.x,
432 rect3d.topLeft.y,
433 rect3d.topLeft.z,
436 rect3d.bottomRight.x,
437 rect3d.bottomRight.y,
438 rect3d.bottomRight.z,
441 rect3d.transform.transformPoint3D(rect3d.topLeft),
442 rect3d.transform.transformPoint3D(rect3d.bottomRight),
443 rect3d.transform.transformPoint3D(bottomLeft),
444 rect3d.transform.transformPoint3D(topRight),