Import std.math.vector
Reflect
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.
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.
Report an issue with this page or with FutureBlitz on GitHub.