You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
282 B

4 months ago
#pragma once
#include <cstdint>
struct Edge {
uint32_t a;
uint32_t b;
float length;
};
struct Face {
uint32_t a;
uint32_t b;
uint32_t c;
};
struct Triangle : Face {
float area;
};
struct Tetrahedron {
uint32_t a;
uint32_t b;
uint32_t c;
uint32_t d;
float volume;
};