~ubuntu-branches/ubuntu/trusty/blender/trusty

« back to all changes in this revision

Viewing changes to intern/cycles/util/util_math.h

  • Committer: Package Import Robot
  • Author(s): Matteo F. Vescovi
  • Date: 2012-05-12 20:02:22 UTC
  • mfrom: (14.2.16 sid)
  • Revision ID: package-import@ubuntu.com-20120512200222-lznjs2cxzaq96wua
Tags: 2.63a-1
* New upstream bugfix release
  + debian/patches/: re-worked since source code changed

Show diffs side-by-side

added added

removed removed

Lines of Context:
487
487
        return sqrtf(dot(a, a));
488
488
}
489
489
 
 
490
__device_inline float len_squared(const float3 a)
 
491
{
 
492
        return dot(a, a);
 
493
}
 
494
 
490
495
#ifndef __KERNEL_OPENCL__
491
496
 
492
497
__device_inline float3 normalize(const float3 a)