Close

Relief for ODA Team in Ukraine

Learn more
ODA Kernel SDK
OdCamera::dolly Method
Syntax
C++
void dolly(double x_dir, double up, double forward);

Changes the camera position and its target by moving it in a specified direction. The move direction is defined by moving step sizes along the x-, y-, and z-coordinate axes. Move amounts are represented as world-space measurement units. 

 

Parameters
Description
x_dir
[in] A movement step in the x-direction. The value is a result of crossing up and forward vectors.
up
[in] A movement step in the up (if positive) or down (if negative) direction.
forward
[in] A movement step to (if positive) or from (if negative) the target.
Copyright © 2002-2022. Open Design Alliance All rights reserved.