A serious refactor. Moved the entire window management process to another thread. Made a plotting interface with DLL exports. Refactored camera and changed transformation approach based on Jordan's suggestions
This commit is contained in:
12
inc/live_plotter.hpp
Normal file
12
inc/live_plotter.hpp
Normal file
@@ -0,0 +1,12 @@
|
||||
#pragma once
|
||||
|
||||
typedef unsigned long long pointid;
|
||||
|
||||
DllExport bool __cdecl start(int win_w, int win_h);
|
||||
DllExport bool __cdecl stop();
|
||||
DllExport pointid __cdecl create_point(float x, float y, float z);
|
||||
DllExport void __cdecl set_color(pointid id, float r, float g, float b);
|
||||
DllExport void __cdecl set_scale(pointid id, float scale);
|
||||
DllExport void __cdecl update_point(pointid id, float x, float y, float z);
|
||||
DllExport void __cdecl set_lifetime(pointid id, float new_lifetime_s);
|
||||
DllExport void __cdecl clear_point(pointid id);
|
||||
Reference in New Issue
Block a user