~ubuntu-branches/ubuntu/lucid/blender/lucid

« back to all changes in this revision

Viewing changes to source/blender/radiosity/intern/source/radfactors.c

  • Committer: Bazaar Package Importer
  • Author(s): Chris Coulson
  • Date: 2009-08-06 22:32:19 UTC
  • mfrom: (1.2.10 upstream)
  • Revision ID: james.westby@ubuntu.com-20090806223219-8z4eej1u8levu4pz
Tags: 2.49a+dfsg-0ubuntu1
* Merge from debian unstable, remaining changes:
  - debian/control: Build-depend on python-2.6 rather than python-2.5.
  - debian/misc/*.desktop: Add Spanish translation to .desktop 
    files.
  - debian/pyversions: 2.6.
  - debian/rules: Clean *.o of source/blender/python/api2_2x/
* New upstream release (LP: #382153).
* Refreshed patches:
  - 01_sanitize_sys.patch
  - 02_tmp_in_HOME
  - 10_use_systemwide_ftgl
  - 70_portability_platform_detection
* Removed patches merged upstream:
  - 30_fix_python_syntax_warning
  - 90_ubuntu_ffmpeg_52_changes

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
 
30
30
    formfactors.c       nov/dec 1992
31
31
 
32
 
    $Id: radfactors.c 16827 2008-09-29 17:08:11Z campbellbarton $
 
32
    $Id: radfactors.c 17891 2008-12-16 12:32:10Z campbellbarton $
33
33
 
34
34
 *************************************** */
35
35
 
535
535
 
536
536
                if(shoot->first->f & RAD_TWOSIDED) {
537
537
                        VECCOPY(unshot, shoot->unshot);
538
 
                        VecMulf(shoot->norm, -1.0);
 
538
                        VecNegf(shoot->norm);
539
539
                        if(makeformfactors(shoot))
540
540
                                applyformfactors(shoot);
541
 
                        VecMulf(shoot->norm, -1.0);
 
541
                        VecNegf(shoot->norm);
542
542
                        VECCOPY(shoot->unshot, unshot);
543
543
                }
544
544