sokol-d ~master (2024-11-07T19:02:21.1867002)
Dub
Repo
Vec2
handmade
math
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
extern (
C
) @
safe
struct
Vec2 {
float
x
;
float
y
;
static
Vec2
zero
();
this
(float x, float y);
}
Constructors
this
this
(float x, float y)
Undocumented in source.
Members
Static functions
zero
Vec2
zero
()
Undocumented in source. Be warned that the author may not have intended to support it.
Variables
x
float
x
;
y
float
y
;
Undocumented in source.
Meta
Source
See Implementation
handmade
math
aliases
cos
floor
sin
tan
functions
radians
sqrt
zig_cos
zig_floor
zig_sin
zig_sqrt
zig_sqrtf
zig_tan
manifest constants
PI
structs
Mat4
Vec2
Vec3