mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-05-02 08:49:20 -05:00
Add Lua functions to load and unload SpiceKernels
This commit is contained in:
@@ -25,6 +25,7 @@
|
||||
#ifndef __SPICEMANAGER_H__
|
||||
#define __SPICEMANAGER_H__
|
||||
|
||||
#include <openspace/scripting/lualibrary.h>
|
||||
#include <openspace/util/powerscaledcoordinate.h>
|
||||
|
||||
#include <ghoul/glm.h>
|
||||
@@ -47,7 +48,6 @@ namespace openspace {
|
||||
|
||||
class SpiceManager : public ghoul::Singleton<SpiceManager> {
|
||||
friend class ghoul::Singleton<SpiceManager>;
|
||||
|
||||
public:
|
||||
using TransformMatrix = std::array<double, 36>;
|
||||
using KernelHandle = unsigned int;
|
||||
@@ -809,6 +809,8 @@ public:
|
||||
*/
|
||||
std::string frameFromBody(const std::string& body) const;
|
||||
|
||||
static scripting::LuaLibrary luaLibrary();
|
||||
|
||||
private:
|
||||
/// Struct storing the information about all loaded kernels
|
||||
struct KernelInformation {
|
||||
|
||||
Reference in New Issue
Block a user