initial commit
This commit is contained in:
14
include/geometry/normal_estimation.hpp
Normal file
14
include/geometry/normal_estimation.hpp
Normal file
@@ -0,0 +1,14 @@
|
||||
#pragma once
|
||||
|
||||
#include <vector>
|
||||
#include <array>
|
||||
#include <span>
|
||||
|
||||
#include "util/uix.hpp"
|
||||
#include "assets/components/mesh_vertex_components.hpp"
|
||||
|
||||
void estimate_normals(
|
||||
std::span<const components::mesh_vertex::position::value_type> vertices,
|
||||
std::span<const std::array<ztu::u32, 3>> triangles,
|
||||
std::vector<components::mesh_vertex::normal::value_type>& normals
|
||||
);
|
||||
Reference in New Issue
Block a user