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
20
typedef
struct
{
21
float
x
;
22
float
y
;
23
}
FsVec2
;
24
33
FsVec2
FsVec2_new
(
float
x,
float
y);
34
35
FsVec2
FsVec2_toScreen
(
FsVec2
vec,
FsWindow
* window);
36
FsVec2_toScreen
FsVec2 FsVec2_toScreen(FsVec2 vec, FsWindow *window)
Definition
vertex.c:12
FsVec2_new
FsVec2 FsVec2_new(float x, float y)
Creates a 2D vector.
Definition
vertex.c:8
FsVec2
2D vector.
Definition
vertex.h:20
FsVec2::y
float y
Definition
vertex.h:22
FsVec2::x
float x
Definition
vertex.h:21
FsWindow
Window object.
Definition
window.h:17
include
fireset
vertex.h
Generated by
1.15.0