[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

6.3.2 Caveats

There are some cases where the default value information is not accurate. The information below applies both to shaderinfo and to `libSloInfo'.

If the default value is the result of a function call, the default value is undefined. The library will do its best to evaluate the function, but the results are not guaranteed to be exact or logical.

If the default value is the result of an arithmetic operation between two points that are not in the same space, for example:
 
surface bad(
	point A = point "object" (3, 2, 1) + point "camera" (1, 2, 3))
{
	...
}

The default returned value will be the result of the arithmetic operation as if the two point were in the `current' space, and the space of the default value will be set to `current':
 
    "A" "uniform point"
                Default value: "current" [4 4 4]



This document was generated by Aghiles Kheffache on July, 31 2003 using texi2html
3Delight 1.0.0. Copyright 2000-2003 The 3Delight Team. All Rights Reserved.