ADD

THE BOX'S MAIN HELP:
This is the addition function.
The result is A + B.
A and B can be floats, points, normals, vectors or colors.
The result will be a float if both A and B are floats.
The result will be a point if either A or B is a point.
The result will be a color if either A or B is a color.
A type mis-match will result from the addition of points and colors.

A (input):
Value to be added.
A can be a float, point, normal, vector or color.
Default is float.

B (vinput):
Value to be added.
B can be a float, point, normal, vector or color.
Default is float.

OUT (output):
The result is A + B.
A and B can be floats, points, normals, vectors or colors.
The result will be a float if both A and B are floats.
The result will be a point if either A or B is a point.
The result will be a color if either A or B is a color.
A type mis-match will result from the addition of points and colors.

<-- BACK TO Math

© Copyright 1996,1998 Cinema Graphics Inc. All Rights reserved.