Scalar.OpCode

Description

Name

enum Tinman.Noise.Scalar.OpCode

Used by

Scalar.Op.op

Binary and unary operators for scalar noise functions.

Items

# Name Tag

0

Abs

-

| a |

1

Add

-

a + b

2

Atan

-

atan(a)

3

Div

-

a / b

4

Log

-

log(a)

5

Max

-

max(a, b)

6

Min

-

min(a, b)

7

Mul

-

a * b

8

Neg

-

-a

9

Pow

-

a ^ b

10

Recip

-

1 / a

11

Sin

-

sin(a)

12

Sqr

-

a * a

13

Sqrt

-

a ^ 0.5

14

Sub

-

a - b