Ignore:
Timestamp:
04/23/07 16:19:30 (17 years ago)
Author:
mattausch
Message:

implemented part of rendering estimation of wimmer et al. for view space / object space subdivision.
warning: not working with undersampling estimation + local visibility based subdivision.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/Lib/Vis/Preprocessing/src/Trackball.cpp

    r1743 r2332  
    193193     * Avoid problems with out-of-control values... 
    194194     */ 
    195     if (t > 1.0) t = 1.0; 
    196     if (t < -1.0) t = -1.0; 
    197     phi = 2.0 * asin(t); 
     195    if (t > 1.0f) t = 1.0f; 
     196    if (t < -1.0f) t = -1.0f; 
     197    phi = 2.0f * asin(t); 
    198198 
    199199    axis_to_quat(a,phi,q); 
Note: See TracChangeset for help on using the changeset viewer.