Table of Contents

Method Subtract

Namespace
Bonsai.Shaders
Assembly
Bonsai.Shaders.dll

Subtract(ref TimeStep, ref TimeStep, out TimeStep)

Subtracts the second TimeStep value from the first and stores the result in a return value.

public static void Subtract(ref TimeStep left, ref TimeStep right, out TimeStep result)

Parameters

left TimeStep

The first TimeStep value.

right TimeStep

The second TimeStep value.

result TimeStep

When this method returns, contains the TimeStep object representing the difference between the left and right values.

Subtract(TimeStep, TimeStep)

Subtracts the second TimeStep value from the first.

public static TimeStep Subtract(TimeStep left, TimeStep right)

Parameters

left TimeStep

The first TimeStep value.

right TimeStep

The second TimeStep value.

Returns

TimeStep

A new TimeStep object representing the difference between the left and right values.