Tesla Graphics Engine Documentation (January 2012)
Reflect Method (value, normal)
Tesla
►
Tesla.Math
►
Vector3
►
Reflect(Vector3, Vector3)
C#
Compute the reflection vector off a surface with the specified normal.
Declaration Syntax
C#
public
static
Vector3
Reflect
(
Vector3
value
,
Vector3
normal
)
Parameters
value
(
Vector3
)
Source vector
normal
(
Vector3
)
Surface normal (unit vector)
Return Value
Resulting vector
Assembly:
Tesla
(Module: Tesla) Version: 0.5.0.0 (0.5.0.0)