User Tools

Site Tools


public:t-gede-16-1:lab7

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
public:t-gede-16-1:lab7 [2016/03/03 10:10] – [Lab Project] marinopublic:t-gede-16-1:lab7 [2024/04/29 13:33] (current) – external edit 127.0.0.1
Line 234: Line 234:
   // We passed in the light and camera NodePaths and get their model space coordinates   // We passed in the light and camera NodePaths and get their model space coordinates
   // here through the "mspos_<name>" variable. Everything here should be done in model space.   // here through the "mspos_<name>" variable. Everything here should be done in model space.
-  // The w component of the mspos_light indicated weather the light is directional or a point. +  // The w component of the mspos_light indicated whether the light is directional or a point. 
-  // So you must check weather you have to calculate the direction or use it directly.+  // So you must check whether you have to calculate the direction or use it directly.
   if( mspos_light.w == 1.0) {   if( mspos_light.w == 1.0) {
   l_L = normalize(mspos_light.xyz - vtx_position.xyz);   l_L = normalize(mspos_light.xyz - vtx_position.xyz);
/var/www/cadia.ru.is/wiki/data/attic/public/t-gede-16-1/lab7.1456999843.txt.gz · Last modified: 2024/04/29 13:32 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki