Blender V4.3
patch.cpp File Reference
#include "scene/mesh.h"
#include "subd/patch.h"
#include "util/math.h"
#include "util/types.h"

Go to the source code of this file.

Functions

static CCL_NAMESPACE_BEGIN void decasteljau_cubic (float3 *P, float3 *dt, float t, const float3 cp[4])
 
static void decasteljau_bicubic (float3 *P, float3 *du, float3 *dv, const float3 cp[16], float u, float v)
 

Function Documentation

◆ decasteljau_bicubic()

static void decasteljau_bicubic ( float3 * P,
float3 * du,
float3 * dv,
const float3 cp[16],
float u,
float v )
static

Definition at line 33 of file patch.cpp.

References decasteljau_cubic(), NULL, P, and v.

Referenced by BicubicPatch::eval().

◆ decasteljau_cubic()

static CCL_NAMESPACE_BEGIN void decasteljau_cubic ( float3 * P,
float3 * dt,
float t,
const float3 cp[4] )
static

Definition at line 18 of file patch.cpp.

References P.

Referenced by decasteljau_bicubic().