Kore
Loading...
Searching...
No Matches
vector.h
Go to the documentation of this file.
1#pragma once
2
3#include "core.h"
4
8
9#ifdef __cplusplus
10extern "C" {
11#endif
12
13typedef struct kinc_vector2 {
14 float x;
15 float y;
16} kinc_vector2_t;
17
18typedef struct kinc_vector3 {
19 float x;
20 float y;
21 float z;
22} kinc_vector3_t;
23
24typedef struct kinc_vector4 {
25 float x;
26 float y;
27 float z;
28 float w;
29} kinc_vector4_t;
30
31#ifdef __cplusplus
32}
33#endif
Just a few very simple additions to math.h the C-lib.
Definition vector.h:13
Definition vector.h:18
Definition vector.h:24