Skip to content
FutureBlitz

    Install

    Import std.math.vector

    Reflect

    std.math.vector

    function

    Public Function Reflect(v: Vec2, normal: Vec2): Vec2

    The direction v bounces off a surface with this normal, of length 1, in: as a ball does off a wall.

    std/math/vector.fb, line 420

    function

    Public Function Reflect(v: Vec3, normal: Vec3): Vec3

    The direction v bounces off a surface with this normal, of length 1, in: as a ball does off a wall.

    std/math/vector.fb, line 424

    Report an issue with this page or with FutureBlitz on GitHub.