Skip to content

windDirection beta ​

Function of @v12-engine/client

ts
export declare function windDirection(around: number): {
    x: number;
    z: number;
};

The way a wind blows, as a unit vector on the ground, from degrees around from north (towards -z), clockwise seen from above: 0 north, 90 east (+x)