Files
cudoku/helper.h
T

12 lines
276 B
C
Raw Normal View History

#pragma once
2023-10-02 23:59:48 +02:00
typedef struct {
float m[4][4];
} Matrix4x4;
Matrix4x4 identity();
2023-10-05 23:02:23 +02:00
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);