UNPKG

rock-mod

Version:

Rock-Mod is a powerful framework designed for creating and managing mods for Grand Theft Auto (GTA) games.

16 lines (15 loc) 610 B
import { type IVector3D } from "../../../../shared/common/utils"; import { type BaseObjectType } from "../../../../shared/entities"; export interface IRaycastResult { entityHandle: number; position: IVector3D; surfaceNormal: IVector3D; } export interface IRaycastIgnoreEntity { handle: number; type: BaseObjectType; } export type TIgnoreEntityType = IRaycastIgnoreEntity | IRaycastIgnoreEntity[] | null; export interface IRaycastingManager { testPointToPoint(startPos: IVector3D, endPos: IVector3D, ignoreEntity?: TIgnoreEntityType, flags?: number | number[]): IRaycastResult | null; }