Skip to content

Instantly share code, notes, and snippets.

View gribuser's full-sized avatar
💎
Пишу код, б%@#ь!

Dmitry Gribov gribuser

💎
Пишу код, б%@#ь!
View GitHub Profile
#include <cmath>
#include <glm/glm.hpp>
inline void findMinMax(float x0, float x1, float x2, float &min, float &max) {
min = max = x0;
if (x1 < min)
min = x1;
if (x1 > max)
max = x1;
if (x2 < min)