Mouse and keyboard input was not captured when running on desktop. This change captures mouse and keyboard input from the current window.
Fix issues related to routing input to the scripting guest: JsValueRef values got garbage collected unintended, causing AVs. Changed to code to allocate arrays of JsValueRefs on the stack to prevent garbage collection.
Add OrbitControl.js to enable mouse camera control in the ThreeJS app when running on desktop.
Fix misc compiler warnings.
Bubble mouse events to "document", not just "canvas".
Mouse and keyboard input was not captured when running on desktop. This change captures mouse and keyboard input from the current window.
Fix issues related to routing input to the scripting guest: JsValueRef values got garbage collected unintended, causing AVs. Changed to code to allocate arrays of JsValueRefs on the stack to prevent garbage collection.
Add OrbitControl.js to enable mouse camera control in the ThreeJS app when running on desktop.
Fix misc compiler warnings.
Bubble mouse events to "document", not just "canvas".