rasterizer

C++ software renderer

globals.h

371 B
 1#pragma once
 2
 3#include <stdint.h>
 4
 5typedef int8_t   i8;
 6typedef int16_t  i16;
 7typedef int32_t  i32;
 8typedef int64_t  i64;
 9typedef uint8_t  u8;
10typedef uint16_t u16;
11typedef uint32_t u32;
12typedef uint64_t u64;
13typedef float    f32;
14typedef double   f64;
15typedef size_t   usize;
16
17#define static_global   static
18#define static_local    static
19#define static_internal static