This repository has been archived on 2023-01-29. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
1weekendraytracer/code/rt_weekend.h
2019-01-15 11:26:44 +01:00

23 lines
381 B
C

#ifndef RT_WEEKEND_H
#define RT_WEEKEND_H
#include <stdint.h>
#define internal static
#define local_persist static
#define global_variable static
#define Assert(Expression) if(!(Expression)) { *(int *)0 = 0; }
// Services that are being provided to the platform layer
struct plugin_offscreen_buffer
{
void *Memory;
int Width;
int Height;
int Pitch;
};
#endif