Momentum
A library for solving nonlinear optimization problems related to human body kinematics
Loading...
Searching...
No Matches
obj_io.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) Meta Platforms, Inc. and affiliates.
3
*
4
* This source code is licensed under the MIT license found in the
5
* LICENSE file in the root directory of this source tree.
6
*/
7
8
#pragma once
9
10
#include <
momentum/common/filesystem.h
>
11
#include <
momentum/math/mesh.h
>
12
13
#include <span>
14
15
namespace
momentum
{
16
45
[[nodiscard]]
Mesh
loadObj
(
const
filesystem::path& filepath);
46
52
[[nodiscard]]
Mesh
loadObj
(std::span<const std::byte> bytes);
53
54
}
// namespace momentum
filesystem.h
mesh.h
momentum
Definition
aligned.h:15
momentum::Mesh
MeshT< float > Mesh
Definition
fwd.h:20
momentum::loadObj
Mesh loadObj(const filesystem::path &filepath)
Loads a mesh from a Wavefront OBJ file.
Definition
obj_io.cpp:220
io
obj
obj_io.h
Generated on
for Momentum by
1.15.0