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
11
namespace
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
Plot.h
unlogic
Definition
Compiler.h:14
unlogic::Plot2dFunctionType
double(*)(double) Plot2dFunctionType
Definition
Plot.h:15
unlogic::Scene
Definition
Scene.h:14
unlogic::Scene::AddPlot
void AddPlot(char const *name, Plot2dFunctionType function)
Definition
Scene.cpp:11
unlogic::Scene::plots
std::vector< Plot2d > plots
Definition
Scene.h:16
unlogic::Scene::draw_grid
bool draw_grid
Definition
Scene.h:15
unlogic
src
graphic
Scene.h
Generated by
1.9.8