dreamcast/geometry/geometry.hpp
Zack Buhman 5db6272ceb example: add modifier volume
This creates a modifier volume with a cube that intersects a plane.
2023-12-30 15:11:22 +08:00

20 lines
331 B
C++

#pragma once
#include <cstdint>
#include "math/vec2.hpp"
#include "math/vec3.hpp"
#include "math/vec4.hpp"
using vec2 = vec<2, float>;
using vec3 = vec<3, float>;
using vec4 = vec<4, float>;
struct vertex__texture__normal {
uint16_t vertex;
uint16_t texture;
uint16_t normal;
};
using face = vertex__texture__normal[3];