This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Fix for system orthographic camera clipping planes not taking into account | |
* scene unit changes from centimeters. | |
*/ | |
global proc foccp_fixOrthoCameraClippingPlanes() { | |
float $offset_amount = 100, | |
$near_clip_plane, | |
$far_clip_plane, | |
$cur_far_clip_plane, | |
$center_of_interest; |