#K$ Cam_ChangeConstants

Syntax 

Cam_ChangeConstants (CONSTANT, CONSTANT)
Description
Change private constants of camera. First parameter is the constant identifier, and second parameter if the value.
	case 1:	xRayCameraSphereToGo1
	case 2:	xRayCameraSphereToGo2
	case 3:	xRayCameraSphereToSee1
	case 4:	xRayCameraSphereToSee2

	case 5:	xBaseAngleComputePosNormal 
	case 6:	xBaseAngleComputePosFailure 

	case 7:	xAverageForComputePos 
	case 8:	xAverageForComputeLinearSpeed 

	case 9:	xMinLinearSpeedCamera 
	case 10:	xMinLinearSpeedTgtPerso 
	case 11:	xMinAngularSpeedTgtPerso 

	case 12:	xEpsilonDynTgtAngle 
	case 13:	xEpsilonDynTgtFocalAngle 
	case 14:	xEpsilonForEqualVectors

	case 15:	xOffsetMinDistPerso 
	case 16:	xDistanceForNoCut 

case 17:	xNumRayCameraCanGo 
	case 18:	xNumRayCameraCanSee 

	case 19:	xTickTestVisibility 
	case 20:	xTickFindBetterPos 
	case 21:	xTickFindBetterPosIfNoMove
	case 22:	xTickFailureCantSee 

	case 30:	xDynSpeed_LinearFactNorm 
	case 31:	xDynSpeed_LinearMax 
	case 32:	xDynSpeed_LinearMulPerso 

	case 33:	xDynSpeed_AngularFactNorm 
	case 34:	xDynSpeed_AngularMax 
	case 35:	xDynSpeed_AngularMulPerso 
	case 36:	xDynSpeed_TargetFactNorm 
	case 37:	xDynSpeed_TargetMax 
	case 38:	xDynSpeed_TargetMulPerso 

	case 39:	wFlags |= (short) xVal
	case 40:	wFlags &= ~((short) xVal)

		Flags :
			Bit0	To indicate that cut angles must continue even if collision
			Bit1	To reset all one trame changes in camera parameters
			Bit2	Before a Cam_ForceBestPos, indicate that position must be better than current one
			Bit3	After a failure visibility, no constraint with projection on axis
			Bit4	After a failure visibility, is computed position is joined, restore normal state

	case 41:	xBaseCutAngle = xVal
	case 42:	xCutAngleFactorPos = xVal (1.0 to ignore)
	case 43:	xCutAngleFactorTgt = xVal (1.0 to ignore)

Cam_SaveConstants() save in a buffer all constants values. This values can be restore in camera used buffer with Cam_RestoreConstants() procedure. This is useful if we want to change a constant just for one trame.
Example(s)