Initial project import
This commit is contained in:
19
node_modules/three-stdlib/csm/CSMFrustum.d.ts
generated
vendored
Normal file
19
node_modules/three-stdlib/csm/CSMFrustum.d.ts
generated
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
import { Matrix4, Vector3 } from 'three'
|
||||
|
||||
export interface CSMFrustumVerticies {
|
||||
near: Vector3[]
|
||||
far: Vector3[]
|
||||
}
|
||||
|
||||
export interface CSMFrustumParameters {
|
||||
projectionMatrix?: Matrix4
|
||||
maxFar?: number
|
||||
}
|
||||
|
||||
export default class CSMFrustum {
|
||||
constructor(data?: CSMFrustumParameters)
|
||||
vertices: CSMFrustumVerticies
|
||||
setFromProjectionMatrix(projectionMatrix: Matrix4, maxFar: number): CSMFrustumVerticies
|
||||
split(breaks: number[], target: CSMFrustum[]): void
|
||||
toSpace(cameraMatrix: Matrix4, target: CSMFrustum): void
|
||||
}
|
||||
Reference in New Issue
Block a user