solutions/typescript/libs/lib/src/model/vector/bounding-box.class.ts
BoundingBox
has 61 functions (exceeds 20 allowed). Consider refactoring. Open
Open
export class BoundingBox {
/**
* from left to right
*/
horizontal: Interval = Interval.EMPTY;
File bounding-box.class.ts
has 424 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
import { Direction, Interval, max } from '../../index.js';
import { Vec2 } from './vec2.class.js';
import type { Vec2Like } from './vec2.class.types.js';
export type BoundingBoxCorner = 'topLeft' | 'topRight' | 'bottomLeft' | 'bottomRight';
Avoid too many return
statements within this function. Open
Open
return undefined;