Subversion Repositories gelsvn

Rev

Rev 443 | Rev 554 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 443 Rev 510
Line 104... Line 104...
104
            else 
104
            else 
105
                // Total internal reflection.
105
                // Total internal reflection.
106
                reflect(normal);
106
                reflect(normal);
107
        }
107
        }
108
 
108
 
109
        bool cond_set_parameter(float t, float _u, float _v, Geometry::TriMesh* mesh, size_t idx)
109
        bool cond_set_parameter(float t, float _u, float _v, const Geometry::TriMesh* mesh, size_t idx)
110
        {
110
        {
111
            if(t < dist)
111
            if(t < dist)
112
            {
112
            {
113
                dist = t;
113
                dist = t;
114
                u = _u;
114
                u = _u;