unlogic
Loading...
Searching...
No Matches
Scene.h
Go to the documentation of this file.
1//
2// Created by Nathan on 11/12/2024.
3//
4
5#ifndef SCENE_H
6#define SCENE_H
7
8#include <vector>
9#include "shape/Plot.h"
10
11namespace unlogic
12{
13 struct Scene
14 {
15 bool draw_grid = true;
16 std::vector<Plot2d> plots;
17
18 void AddPlot(char const *name, Plot2dFunctionType function);
19 };
20} // namespace unlogic
21
22#endif // SCENE_H
double(*)(double) Plot2dFunctionType
Definition Plot.h:15
void AddPlot(char const *name, Plot2dFunctionType function)
Definition Scene.cpp:11
std::vector< Plot2d > plots
Definition Scene.h:16
bool draw_grid
Definition Scene.h:15