nape-js API
    Preparing search index...

    Interface DebugVec2

    A minimal 2D point used by DebugDraw draw callbacks. Renderer implementations receive read-only snapshots — do NOT store these references; they may be reused by the engine after the call returns.

    interface DebugVec2 {
        x: number;
        y: number;
    }
    Index

    Properties

    x y

    Properties

    x: number
    y: number