JS: add initial implementation of a DynamicDoubleInput

This requires further work to verify the unittype of the output being passed in,
but at least the basic structure is there.

Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: small cleanup in Distribution to make sampling more clear

Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: rename getNextNonZeroSample -> getNextSample

Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: add LinearDensityVolumeUnit

Signed-off-by: Geoffrey Savinkoff <Geoffrey.Savinkoff@ausenco.com>
Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS3D: Set ModelEntity timeOfLastStateChange to current time in earlyInit

If it is called in the constructor before the start of the run, then the value is NaN.
This change will guarantee that the value is not NaN.

Signed-off-by: Stephen Wong <stephen.wong@ausenco.com>
Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: remove gravity input from Simulation

Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: remove Simulation::discreteTimeRoundedUp() helper method

Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: First attempt at having a point-of-interest in the 3D control

This currently uses a hard-coded POI, but works all right so far.

Signed-off-by: Matt Chudleigh <matt.chudleigh@ausenco.com>
Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: Added framework for precise collision detection

This is purely framework, no implementation.

Signed-off-by: Matt Chudleigh <matt.chudleigh@ausenco.com>
Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: Exposed ConvexHull collision by Matrix as well as Transform

Signed-off-by: Matt Chudleigh <matt.chudleigh@ausenco.com>
Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: Refactored polygon collision function as an exposed utility

Signed-off-by: Matt Chudleigh <matt.chudleigh@ausenco.com>
Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: Refactor Line collision algorithm into utility function

Signed-off-by: Matt Chudleigh <matt.chudleigh@ausenco.com>
Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: Added guard against 0 scale when building up proxies

Signed-off-by: Matt Chudleigh <matt.chudleigh@ausenco.com>
Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: Implemented precise picking form Mesh renderables

Signed-off-by: Matt Chudleigh <matt.chudleigh@ausenco.com>
Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: Fixed bug in alt-key handling

Signed-off-by: Matt Chudleigh <matt.chudleigh@ausenco.com>
Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: Make rotateAroundPoint more generic by taking Vec3d instead of Vec4d

Signed-off-by: Matt Chudleigh <matt.chudleigh@ausenco.com>
Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: Implement setting POI and camera rotation in experimental controls

Signed-off-by: Matt Chudleigh <matt.chudleigh@ausenco.com>
Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: Added Experimental Controls flag to options and remapped controls

Now the Control key does not need to be pressed to navigate for
experimental controls, but it does need to be pressed to modify objects.

Signed-off-by: Matt Chudleigh <matt.chudleigh@ausenco.com>
Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: Bug fix, re-enable snapping to Y up when looking vertically

This is for classic controls only.

Signed-off-by: Matt Chudleigh <matt.chudleigh@ausenco.com>
Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: Rename "unit" to "unitType" for Output

Signed-off-by: Harry King <harry.king@ausenco.com>
Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>