Blender V5.0
patch.cpp File Reference
#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, const float t, const float3 cp[4])
static void decasteljau_bicubic (float3 *P, float3 *du, float3 *dv, const float3 cp[16], float u, const float v)

Function Documentation

◆ decasteljau_bicubic()

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

Definition at line 31 of file patch.cpp.

References decasteljau_cubic(), P, and v.

Referenced by BicubicPatch::eval().

◆ decasteljau_cubic()

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

Definition at line 16 of file patch.cpp.

References P.

Referenced by decasteljau_bicubic().