deps/obs-scripting: Expose matrix3 & 4 to scripting
Various functions available in the scripting API aren't usable currently since you can't create the matrix3 and matrix4 needed for their arguments.
This commit is contained in:
parent
d3b6f7a71f
commit
83fdf41e3f
4
deps/obs-scripting/obslua/obslua.i
vendored
4
deps/obs-scripting/obslua/obslua.i
vendored
@ -7,6 +7,8 @@
|
||||
#include <graphics/vec4.h>
|
||||
#include <graphics/vec3.h>
|
||||
#include <graphics/vec2.h>
|
||||
#include <graphics/matrix4.h>
|
||||
#include <graphics/matrix3.h>
|
||||
#include <graphics/quat.h>
|
||||
#include <graphics/image-file.h>
|
||||
#include <obs.h>
|
||||
@ -82,6 +84,8 @@ static inline void wrap_blog(int log_level, const char *message)
|
||||
%include "graphics/vec4.h"
|
||||
%include "graphics/vec3.h"
|
||||
%include "graphics/vec2.h"
|
||||
%include "graphics/matrix4.h"
|
||||
%include "graphics/matrix3.h"
|
||||
%include "graphics/quat.h"
|
||||
%include "graphics/image-file.h"
|
||||
%include "obs-scripting-config.h"
|
||||
|
4
deps/obs-scripting/obspython/obspython.i
vendored
4
deps/obs-scripting/obspython/obspython.i
vendored
@ -8,6 +8,8 @@
|
||||
#include <graphics/vec4.h>
|
||||
#include <graphics/vec3.h>
|
||||
#include <graphics/vec2.h>
|
||||
#include <graphics/matrix4.h>
|
||||
#include <graphics/matrix3.h>
|
||||
#include <graphics/quat.h>
|
||||
#include <obs.h>
|
||||
#include <obs-hotkey.h>
|
||||
@ -81,6 +83,8 @@ static inline void wrap_blog(int log_level, const char *message)
|
||||
%include "graphics/vec4.h"
|
||||
%include "graphics/vec3.h"
|
||||
%include "graphics/vec2.h"
|
||||
%include "graphics/matrix4.h"
|
||||
%include "graphics/matrix3.h"
|
||||
%include "graphics/quat.h"
|
||||
%include "obs-scripting-config.h"
|
||||
%include "obs-data.h"
|
||||
|
Loading…
x
Reference in New Issue
Block a user