Files
cudoku/helper.h
T

12 lines
276 B
C

#pragma once
typedef struct {
float m[4][4];
} Matrix4x4;
Matrix4x4 identity();
Matrix4x4 orthographic_projection_2d(float left, float right, float bottom, float top);
int max(int a, int b);
float maxf(float a, float b);
float clampf(float value, float min, float max);