UNPKG
ts-raycasting
Version:
latest (0.0.14)
0.0.14
0.0.12
Raycasting in typescript
github.com/dderevjanik/ts-raycasting
dderevjanik/ts-raycasting
ts-raycasting
/
src
/
Config.ts
12 lines
(10 loc)
•
228 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
import
{
IRayConf
}
from
'./interfaces'
;
/** * This is default config used in castRays() */
export
const
defaultConfig
:
IRayConf
= {
rayCount
:
256
,
fov
: (
Math
.
PI
/
2
),
fisheye
:
false
,
center
:
true
};