| Package | Description |
|---|---|
| com.io7m.jtensors |
| Modifier and Type | Method and Description |
|---|---|
static QuaternionM4F |
QuaternionM4F.lookAtWithContext(QuaternionM4F.Context context,
VectorReadable3FType origin,
VectorReadable3FType target,
VectorReadable3FType up,
QuaternionM4F q)
Produce a quaternion that represents a rotation that "looks at" the point
at
target assuming the viewer is at origin,
using up as the "up" vector, saving the result to
q. |
Copyright © 2014 <code@io7m.com> http://io7m.com