SC_SetCameraUpVector

Usage

void SC_SetCameraUpVector( int x, int y, int z)


Summary

Sets the camera up vector.  In basic terms this determines which way up the camera is.  Be sure to read the Coordinates section above.


Example

// set upright camera (up Y)
SC_SetCameraUpVector( 0, 1, 0);

// set upsidedown camera (down Y)
SC_SetCameraUpVector( 0, -1, 0);

// set look down camera (up minus Z)
SC_SetCameraUpVector( 0, 0, -1);


Last Revised: 08 May 2008

Full Functions List


Copyright 2008 to 2009 by James Bunting
www.jbplay.com/games/rod3d/

This page was automatically generated by James' Script Docs Generator