Back to Filament

MathUtils

docs/android/dokka/filament-android/com.google.android.filament/-math-utils/index.md

1.75.02.8 KB
Original Source

//filament-android/com.google.android.filament/MathUtils

MathUtils

[main]
class MathUtils

Functions

NameSummary
packTangentFrame[main]
open fun packTangentFrame(tangentX: Float, tangentY: Float, tangentZ: Float, bitangentX: Float, bitangentY: Float, bitangentZ: Float, normalX: Float, normalY: Float, normalZ: Float, quaternion: Array<Float>)
open fun packTangentFrame(tangentX: Float, tangentY: Float, tangentZ: Float, bitangentX: Float, bitangentY: Float, bitangentZ: Float, normalX: Float, normalY: Float, normalZ: Float, quaternion: Array<Float>, offset: Int)
Packs the tangent frame represented by the specified tangent, bitangent, and normal into a quaternion.