Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "matrix/normal"

Index

Functions

Functions

Const surfaceNormal

  • surfaceNormal(n: Vec3Term, normalMat: Mat4Term): FnCall<"vec3">
  • Inline function. Multiplies normal with given 4x4 normal matrix (e.g. transpose inverse of view * model).

    Parameters

    • n: Vec3Term

      -

    • normalMat: Mat4Term

      -

    Returns FnCall<"vec3">

Generated using TypeDoc