Panda3D

Loading...
Searching...
No Matches
Functions
rescaleNormalAttrib.I File Reference

PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University. More...

Go to the source code of this file.

## Functions
| CPT (RenderAttrib) RescaleNormalAttrib
| Constructs a RescaleNormalAttrib object that's suitable for putting at the top of a scene graph.

## Detailed Description

PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.

All rights reserved.

All use of this software is subject to the terms of the revised BSD license. You should have received a copy of this license along with this source code in a file named "LICENSE."

Author
  drose

Date
  2004-12-30

Definition in file rescaleNormalAttrib.I.

## Function Documentation

## ◆ CPT()

CPT | ( | RenderAttrib |  | ) |
| inline

Constructs a RescaleNormalAttrib object that's suitable for putting at the top of a scene graph.

This will contain whatever attrib was suggested by the user's rescale-normals Config variable.

Definition at line 29 of file rescaleNormalAttrib.I.

References RenderAttribRegistry::get_slot_default(), and RenderAttribRegistry::quick_get_global_ptr().