lookat
- compas_view2.scene.lookat(eye, target, up)[source]
Construct a “look at” transformation matrix.
- Parameters:
eye ([float, float, float] or
compas.geometry.Point) – Location of the “eye” of the camera.target ([float, float, float] or
compas.geometry.Point) – Location of the target to look at.up ([float, float, float] or
compas.geometry.Vector) – Direction indicating which way is “up”.
- Returns: