Negate Scalar: Difference between revisions
Jump to navigation
Jump to search
jrfconvert import |
No edit summary |
||
| Line 3: | Line 3: | ||
[[Image:drex_module_54_image_0.png|485pxpx|Negate Scalar]] | [[Image:drex_module_54_image_0.png|485pxpx|Negate Scalar]] | ||
'''Node Description & Purpose: '''<br /> The Negate family of nodes takes the Input value and flips its sign. That is to say, if the Input is a positive number it will become a negative number. If the Input value is a negative number it will become a positive number. Here's some examples:<br /><br /> 2.6 '''becomes''' -2.6<br /> -3 '''becomes''' 3<br /><br /> For colours and vectors the negation is done on a component-wise basis, so using vectors as an example :<br /><br /> ( 2.1, -6, 4 ) '''becomes''' ( -2.1, 6, -4 )<br /> ( -10, 3, -2 ) '''becomes''' ( 10, -3, 2 )<br /><br />'''Node Type: ''' Function<br /><br />'''Settings: '''<br /> These nodes have no other settings apart from the Input node. | |||
__NOTOC__ | __NOTOC__ | ||
<!-- imported from file: module_54.html--> | <!-- imported from file: module_54.html--> | ||
Revision as of 01:09, 29 April 2011
Negate Scalar
Node Description & Purpose:
The Negate family of nodes takes the Input value and flips its sign. That is to say, if the Input is a positive number it will become a negative number. If the Input value is a negative number it will become a positive number. Here's some examples:
2.6 becomes -2.6
-3 becomes 3
For colours and vectors the negation is done on a component-wise basis, so using vectors as an example :
( 2.1, -6, 4 ) becomes ( -2.1, 6, -4 )
( -10, 3, -2 ) becomes ( 10, -3, 2 )
Node Type: Function
Settings:
These nodes have no other settings apart from the Input node.
