Type Alias WTCGLBounds

WTCGLBounds: {
    center: Vec3;
    max: Vec3;
    min: Vec3;
    radius: number;
    scale: Vec3;
}

An object defining the boundary of the geometry.

Type declaration

  • center: Vec3

    A vector representing the avg center of the object.

  • max: Vec3

    A vector representing the maximum positions for each axis.

  • min: Vec3

    A vector representing the minimum positions for each axis.

  • radius: number

    The radius of the boundary of the object.

  • scale: Vec3

    A vector representing the the scale of the object as defined by max - min.