Basic:
Function GetViewing3D(ByRef VRPx As Single, ByRef VRPy As Single, ByRef VRPz
As Single, ByRef EyeX As Single, ByRef EyeY As Single, ByRef EyeZ As Single,
ByRef tanViewAngleHalf As Single) As Boolean
C++:
HRESULT GetViewing3D(float *VRPx, float *VRPy, float *VRPz, float *EyeX,
float *EyeY, float *EyeZ, float *tanViewAngleHalf, VARIANT_BOOL *pResult);
javascript as of current released implementations, doesn't accept
function parameters passed by reference, ECMAScript Ed. 4 almost
certainly will and JScript.NET suggests that
function GetViewing3D(ref double VRPx, ... )
will be the relevant code.
Jim.
--
FAQ: http://jibbering.com/faq/
Old FAQs: http://jibbering.com/faq/old/
function GetViewing3D(VRPx, VRPy, VRPz, EyeX, EyeY, EyeZ, tanViewAngleHalf)
keep in mind that JavaScript is a loosely typed language, there's not type
declaration.
Plus, function parameters are all passed by value, eccept complex type
parameters which are passed by reference
hope this could help you.
--
Federico Sasso &8v>
http://www.crt.unige.it/jsSQL
The jsSQL Project - JavaScript Database and SQL Engine