mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-06-25 01:06:50 +00:00
Add vector prototype to vector-like return values from C++ to JS. Fixes #2394.
This was SVN commit r14645.
This commit is contained in:
@@ -91,6 +91,9 @@ public:
|
||||
*/
|
||||
static shared_ptr<ScriptRuntime> CreateRuntime(int runtimeSize = DEFAULT_RUNTIME_SIZE);
|
||||
|
||||
CScriptValRooted vector2Dprototype;
|
||||
CScriptValRooted vector3Dprototype;
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
* @param nativeScopeName Name of global object that functions (via RegisterFunction) will
|
||||
|
||||
Reference in New Issue
Block a user