Table of Contents

Method b3MulSub

Namespace
Box3D.Native
Assembly
Box3D.NET.Native.dll

b3MulSub(Vector3, float, Vector3)

Computes a - s * b.

public static Vector3 b3MulSub(Vector3 a, float s, Vector3 b)

Parameters

a Vector3

The base vector.

s float

The scale applied to b.

b Vector3

The scaled vector.

Returns

Vector3

The result.