% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/camera.R
\name{cgv_fly_path}
\alias{cgv_fly_path}
\title{Fly Camera Along a Path}
\usage{
cgv_fly_path(viewer, positions, duration = 5, loop = FALSE)
}
\arguments{
\item{viewer}{External pointer returned by \code{cgv_viewer}.}

\item{positions}{Numeric matrix with 3 columns (x, y, z), one row per waypoint.}

\item{duration}{Total animation duration in seconds.}

\item{loop}{Logical: loop the animation?}
}
\value{
No return value, called for side effects: starts a Catmull-Rom
  spline camera animation through the given waypoints. Returns
  \code{NULL} invisibly.
}
\description{
Smoothly animate the camera along a sequence of 3D waypoints
using Catmull-Rom spline interpolation.
}
