Function pointIsInViewPort
pointIsInViewPort( point: Point, viewPortWidth: number, viewPortHeight: number, cameraPosition: Point, cameraZoomLevel: number, cameraRotation: number,): boolean Parameters
- point: Point
- viewPortWidth: number
- viewPortHeight: number
- cameraPosition: Point
- cameraZoomLevel: number
- cameraRotation: number
Returns boolean
Checks if a point is in the view port. The point is in world space. The camera position is the position of the camera in world space.