mirror of
https://github.com/allemangD/toddcox-visualize.git
synced 2025-11-10 03:52:48 -05:00
Create source tree
This commit is contained in:
@@ -11,8 +11,10 @@ include(External/eigen.cmake)
|
|||||||
include(External/glad.cmake)
|
include(External/glad.cmake)
|
||||||
include(External/json.cmake)
|
include(External/json.cmake)
|
||||||
|
|
||||||
add_executable(vis main.cpp)
|
include_directories(./include)
|
||||||
|
|
||||||
|
add_executable(vis src/main.cpp)
|
||||||
target_link_libraries(vis glfw glad imgui eigen nlohmann_json)
|
target_link_libraries(vis glfw glad imgui eigen nlohmann_json)
|
||||||
|
|
||||||
add_executable(serial serialtest.cpp)
|
add_executable(serial src/serialtest.cpp)
|
||||||
target_link_libraries(serial eigen nlohmann_json)
|
target_link_libraries(serial eigen nlohmann_json)
|
||||||
|
|||||||
@@ -83,15 +83,4 @@ namespace ml {
|
|||||||
return out;
|
return out;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
// class CubeMesh : public MeshBase<Eigen::MatrixXf, Eigen::MatrixXi> {
|
|
||||||
// public:
|
|
||||||
// const Eigen::MatrixBase<PointsType> &points() const override {
|
|
||||||
// return PointsType::Random(3, 8);
|
|
||||||
// }
|
|
||||||
//
|
|
||||||
// const Eigen::MatrixBase<CellsType> &cells() const override {
|
|
||||||
// return <#initializer#>;
|
|
||||||
// }
|
|
||||||
// };
|
|
||||||
}
|
}
|
||||||
@@ -8,8 +8,8 @@
|
|||||||
|
|
||||||
#include "gldebug.hpp"
|
#include "gldebug.hpp"
|
||||||
|
|
||||||
#include "meshlib.hpp"
|
#include <ml/meshlib.hpp>
|
||||||
#include "meshlib_json.hpp"
|
#include <ml/meshlib_json.hpp>
|
||||||
|
|
||||||
struct State {
|
struct State {
|
||||||
float bg[4] = {0.45f, 0.55f, 0.60f, 1.00f};
|
float bg[4] = {0.45f, 0.55f, 0.60f, 1.00f};
|
||||||
|
|||||||
@@ -3,8 +3,8 @@
|
|||||||
#include <fstream>
|
#include <fstream>
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
|
||||||
#include "meshlib.hpp"
|
#include <ml/meshlib.hpp>
|
||||||
#include "meshlib_json.hpp"
|
#include <ml/meshlib_json.hpp>
|
||||||
|
|
||||||
class Circle : public ml::MeshBase {
|
class Circle : public ml::MeshBase {
|
||||||
public:
|
public:
|
||||||
|
|||||||
Reference in New Issue
Block a user