Constructors
constructor
- new Raycaster(frameBuffer: FrameBuffer): Raycaster
-
Properties
Private
height
height: number
Private
rgba
rgba: Uint8ClampedArray
Private
width
width: number
Private
zBuffer
zBuffer: number[]
Methods
clear
- clear(...targets: BufferType[]): void
-
Returns void
Private
draw_billboard_vline
- draw_billboard_vline(texture: Texture, x: number, drawStartY: number, drawEndY: number, billboardWidth: number, billboardHeight: number, billboardScreenX: number, drawOffsetY: number, lightColor: RGBLike, fog: Fog, distance: number): void
-
Parameters
-
-
x: number
-
drawStartY: number
-
drawEndY: number
-
billboardWidth: number
-
billboardHeight: number
-
billboardScreenX: number
-
drawOffsetY: number
-
-
-
distance: number
Returns void
Private
draw_wall_vline
- draw_wall_vline(texture: Texture, x: number, U: number, start: number, end: number, lightColor: RGBLike, fog: Fog, distance: number): void
-
Parameters
-
-
x: number
-
U: number
-
start: number
-
end: number
-
-
-
distance: number
Returns void
レイキャスター。