Import std.math.vector
IsClose
function
Public Function IsClose(a: Vec2, b: Vec2): Bool
Whether each component is close to b's, as IsClose tells for Floats.
function
Public Function IsClose(a: Vec3, b: Vec3): Bool
Whether each component is close to b's, as IsClose tells for Floats.
function
Public Function IsClose(a: Vec4, b: Vec4): Bool
Whether each component is close to b's, as IsClose tells for Floats.
function
Public Function IsClose(a: Vec2, b: Vec2, tolerance: Float): Bool
Whether each component is no further from b's than tolerance.
function
Public Function IsClose(a: Vec3, b: Vec3, tolerance: Float): Bool
Whether each component is no further from b's than tolerance.
function
Public Function IsClose(a: Vec4, b: Vec4, tolerance: Float): Bool
Whether each component is no further from b's than tolerance.
Report an issue with this page or with FutureBlitz on GitHub.