five-on-it / packages/world/src/level / inGarage
Function: inGarage()
inGarage(
g,x,z):boolean
Defined in: packages/world/src/level.ts:830
Whether a point on the ground lies in a garage's bay: within its width across and its depth along, in its own frame (the floor's height is not checked).
Parameters
g
x
number
z
number
Returns
boolean