migrate to emscripten
This commit is contained in:
@@ -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);
|
||||
}
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user