candlewick 0.1.0
A renderer
Loading...
Searching...
No Matches
Heightfield.h
Go to the documentation of this file.
1#pragma once
2
3#include "../utils/MeshData.h"
4
5namespace candlewick {
6
9MeshData loadHeightfield(const Eigen::Ref<const Eigen::MatrixXf> &heights,
10 const Eigen::Ref<const Eigen::VectorXf> &xgrid,
11 const Eigen::Ref<const Eigen::VectorXf> &ygrid);
12} // namespace candlewick
A class to store type-erased vertex data and index data.
Definition MeshData.h:33
MeshData loadHeightfield(const Eigen::Ref< const Eigen::MatrixXf > &heights, const Eigen::Ref< const Eigen::VectorXf > &xgrid, const Eigen::Ref< const Eigen::VectorXf > &ygrid)
Load a heightfield, as line geometry.
Definition Camera.h:8