Fireset
Loading...
Searching...
No Matches
vertex.h
1// Copyright (c) 2025 Henrique Rodrigues Santos
2// Licensed under the MIT License
3// Repo: https://github.com/saintsHr/Fireset
4
5#include "fireset/window.h"
6
7#pragma once
8
14
20typedef struct{
21 float x;
22 float y;
23} FsVec2;
24
33FsVec2 FsVec2_new(float x, float y);
34
36
FsVec2 FsVec2_toScreen(FsVec2 vec, FsWindow *window)
Definition vertex.c:12
FsVec2 FsVec2_new(float x, float y)
Creates a 2D vector.
Definition vertex.c:8
2D vector.
Definition vertex.h:20
float y
Definition vertex.h:22
float x
Definition vertex.h:21
Window object.
Definition window.h:17