doxygen code things

This commit is contained in:
rdb 2011-02-25 13:14:51 +00:00
parent 20f97e47d5
commit b1ee669c82

View File

@ -60,13 +60,13 @@ make_identity() {
// Description: Constructs a new LightRampAttrib object. This // Description: Constructs a new LightRampAttrib object. This
// causes the luminance of the diffuse lighting // causes the luminance of the diffuse lighting
// contribution to be quantized using a single threshold: // contribution to be quantized using a single threshold:
// // @code
// if (original_luminance > threshold0) { // if (original_luminance > threshold0) {
// luminance = level0; // luminance = level0;
// } else { // } else {
// luminance = 0.0; // luminance = 0.0;
// } // }
// // @endcode
//////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////
CPT(RenderAttrib) LightRampAttrib:: CPT(RenderAttrib) LightRampAttrib::
make_single_threshold(float thresh0, float val0) { make_single_threshold(float thresh0, float val0) {
@ -83,7 +83,7 @@ make_single_threshold(float thresh0, float val0) {
// Description: Constructs a new LightRampAttrib object. This // Description: Constructs a new LightRampAttrib object. This
// causes the luminance of the diffuse lighting // causes the luminance of the diffuse lighting
// contribution to be quantized using two thresholds: // contribution to be quantized using two thresholds:
// // @code
// if (original_luminance > threshold1) { // if (original_luminance > threshold1) {
// luminance = level1; // luminance = level1;
// } else if (original_luminance > threshold0) { // } else if (original_luminance > threshold0) {
@ -91,7 +91,7 @@ make_single_threshold(float thresh0, float val0) {
// } else { // } else {
// luminance = 0.0; // luminance = 0.0;
// } // }
// // @endcode
//////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////
CPT(RenderAttrib) LightRampAttrib:: CPT(RenderAttrib) LightRampAttrib::
make_double_threshold(float thresh0, float val0, float thresh1, float val1) { make_double_threshold(float thresh0, float val0, float thresh1, float val1) {
@ -122,9 +122,9 @@ make_double_threshold(float thresh0, float val0, float thresh1, float val1) {
// the range 0-1. The HDR0 tone mapping operator 'steals' // the range 0-1. The HDR0 tone mapping operator 'steals'
// one quarter of that contrast to represent brightnesses in // one quarter of that contrast to represent brightnesses in
// the range 1-infinity. // the range 1-infinity.
// // @code
// FINAL_RGB = (RGB^3 + RGB^2 + RGB) / (RGB^3 + RGB^2 + RGB + 1) // FINAL_RGB = (RGB^3 + RGB^2 + RGB) / (RGB^3 + RGB^2 + RGB + 1)
// // @endcode
//////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////
CPT(RenderAttrib) LightRampAttrib:: CPT(RenderAttrib) LightRampAttrib::
make_hdr0() { make_hdr0() {
@ -151,9 +151,9 @@ make_hdr0() {
// the range 0-1. The HDR1 tone mapping operator 'steals' // the range 0-1. The HDR1 tone mapping operator 'steals'
// one third of that contrast to represent brightnesses in // one third of that contrast to represent brightnesses in
// the range 1-infinity. // the range 1-infinity.
// // @code
// FINAL_RGB = (RGB^2 + RGB) / (RGB^2 + RGB + 1) // FINAL_RGB = (RGB^2 + RGB) / (RGB^2 + RGB + 1)
// // @endcode
//////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////
CPT(RenderAttrib) LightRampAttrib:: CPT(RenderAttrib) LightRampAttrib::
make_hdr1() { make_hdr1() {
@ -180,9 +180,9 @@ make_hdr1() {
// the range 0-1. The HDR2 tone mapping operator 'steals' // the range 0-1. The HDR2 tone mapping operator 'steals'
// one half of that contrast to represent brightnesses in // one half of that contrast to represent brightnesses in
// the range 1-infinity. // the range 1-infinity.
// // @code
// FINAL_RGB = (RGB) / (RGB + 1) // FINAL_RGB = (RGB) / (RGB + 1)
// // @endcode
//////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////
CPT(RenderAttrib) LightRampAttrib:: CPT(RenderAttrib) LightRampAttrib::
make_hdr2() { make_hdr2() {