this method sets all the params that an observer needs

Namespace:  GLSV
Assembly:  GLSV (in GLSV.dll) Version: 1.2009.6.26 (1.2009.06.26)

Syntax

C#
public void SetObserverParams(
	XYZ obsPos,
	XYZ obsHor,
	double inter,
	double n,
	double f
)
Visual Basic (Declaration)
Public Sub SetObserverParams ( _
	obsPos As XYZ, _
	obsHor As XYZ, _
	inter As Double, _
	n As Double, _
	f As Double _
)
Visual C++
public:
void SetObserverParams(
	XYZ^ obsPos, 
	XYZ^ obsHor, 
	double inter, 
	double n, 
	double f
)

Parameters

obsPos
Type: GLSV..::.XYZ
This is the observer position
obsHor
Type: GLSV..::.XYZ
This is the observer horizontal: vector from left to right eyes
inter
Type: System..::.Double
This is the distance between observer eyes
n
Type: System..::.Double
This is the distance to the near plane
f
Type: System..::.Double
This is the distance to the far plane

See Also