Skip to main content

Std.Math.Vec2

This page is still under construction!

This feature is still not implemented!

@public struct Vec2

Vec2 is a structure to manipulate bidimentional vectors. All coordenates are stored as single precision floats (f32)


Fields

@public let f32 x

stores f32:

The X coordenate of the vector.
@public let f32 y

stores f32:

The Y coordenate of the vector.