flatten 20260225

This commit is contained in:
Timothy Prepscius
2026-02-25 12:30:52 -05:00
commit d7e2ba6fcc
52 changed files with 48987 additions and 0 deletions

View File

@@ -0,0 +1,38 @@
//
// vuku.h
// Core
//
// Created by Timothy Prepscius on 9/8/20.
// Copyright © 2020 Timothy Prepscius. All rights reserved.
//
#pragma once
#include <tjp/core/math/Vector3.hpp>
#include <tjp/core/math/Vector2.hpp>
#include <vector>
namespace tjp {
namespace core {
namespace graphics {
namespace geometry
{
template<typename R, typename I=int>
struct Geometry
{
std::vector<math::Vector3<R>> vertices;
std::vector<I> indices;
std::vector<math::Vector3<R>> normals;
std::vector<math::Vector2<R>> uvs;
} ;
template<typename Real, typename Index>
Geometry<Real,Index> sphere(unsigned int numZSamples,
unsigned int numRadialSamples, Real radius, bool outside);
}
}
}
}