kopia lustrzana https://github.com/jameshball/osci-render
17 wiersze
314 B
C++
17 wiersze
314 B
C++
#pragma once
|
|
#include "../shape/Vector2.h"
|
|
#include <JuceHeader.h>
|
|
#include "../shape/Shape.h"
|
|
|
|
struct lua_State;
|
|
class LuaParser {
|
|
public:
|
|
LuaParser(juce::String script);
|
|
~LuaParser();
|
|
|
|
std::vector<std::unique_ptr<Shape>> draw();
|
|
private:
|
|
long step = 1;
|
|
lua_State* L;
|
|
juce::String script;
|
|
}; |