Changes

Jump to: navigation, search

User:Akopytov

775 bytes added, 15:05, 9 April 2011
no edit summary
*Pass the context to the Object class, and remove the code that passes the context to derived classes (Line 47-50)
Graphic.h
*Add the handles to the algorithm, roughness and refraction variables (Line 58-60, 131-133)
*Change the power variable in SubdividedGraphic from a FLOAT* to a FLOAT
Graphic.cpp
*Remove the parameter from the power() function (Line 112, 343)
*Get the addresses to the shader variables for the new handles (Line 121-123, 353-355)
*Set the values of the shader variables (Line 166-168, 398-400)
*Remove the code that initializes the power variable to an array (Line 243)
*Remove the code that deletes the power array (Line 295-296)
*Set the power variable to the src object's power value (Line 300)
*Remove the code that sets an array of powers (Line 305)
*Remove the index from the power variable (Line 397)
*Remove the code that deletes a power array (Line 448-449)
************************ Lighting Documentation v1.00 ************************
1
edit

Navigation menu