migrate to emscripten

This commit is contained in:
Dmitry Ivakhnenko
2022-11-22 15:05:05 +03:00
parent 35f3335efc
commit 8d3e02f565
17 changed files with 311 additions and 895 deletions

View File

@@ -7,9 +7,6 @@
#pragma once
#include <nbind/api.h>
#include <nbind/BindDefiner.h>
struct Layout {
double left;
double right;
@@ -19,8 +16,5 @@ struct Layout {
double width;
double height;
void toJS(nbind::cbOutput expose) const {
expose(left, right, top, bottom, width, height);
}
};