diff options
author | Mai Lavelle <mai.lavelle@gmail.com> | 2016-04-11 23:49:09 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2016-04-12 00:12:11 +0300 |
commit | ebfdd7da83200f2890b28dd5ef9a0fc8c6ab9137 (patch) | |
tree | 8ccb1ad1af787ccf3d186b687324e4056f9665df /intern/cycles/subd/subd_split.h | |
parent | 7d033717ad52bf92235e65224b6b3940de7ec473 (diff) |
Cycles microdisplacement: perform subdivision dicing in raster space
NOTE: this is only the first of many patches towards completing the subdivison
and displacement system in Cycles. These patches will be reviewed and committed
one by one over the coming weeks.
Reviewed By: brecht, sergey
Differential Revision: https://developer.blender.org/D1909
Diffstat (limited to 'intern/cycles/subd/subd_split.h')
-rw-r--r-- | intern/cycles/subd/subd_split.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/subd/subd_split.h b/intern/cycles/subd/subd_split.h index df4935ee624..f04c51dedfe 100644 --- a/intern/cycles/subd/subd_split.h +++ b/intern/cycles/subd/subd_split.h @@ -45,7 +45,7 @@ public: DiagSplit(const SubdParams& params); - float3 project(Patch *patch, float2 uv); + float3 to_world(Patch *patch, float2 uv); int T(Patch *patch, float2 Pstart, float2 Pend); void partition_edge(Patch *patch, float2 *P, int *t0, int *t1, float2 Pstart, float2 Pend, int t); |