Frustum.d.ts 495 B

1234567891011121314151617
  1. import type { mat4 } from 'gl-matrix';
  2. import { Plane } from './Plane';
  3. export declare enum Mask {
  4. OUTSIDE = 4294967295,
  5. INSIDE = 0,
  6. INDETERMINATE = 2147483647
  7. }
  8. export declare class Frustum {
  9. planes: Plane[];
  10. constructor(planes?: Plane[]);
  11. /**
  12. * extract 6 planes from projectionMatrix
  13. * @see http://www8.cs.umu.se/kurser/5DV051/HT12/lab/plane_extraction.pdf
  14. */
  15. extractFromVPMatrix(projectionMatrix: mat4): void;
  16. }
  17. //# sourceMappingURL=Frustum.d.ts.map