sculpt-dev: Rename BLI_arc_spline.hh to BLI_even_spline.hh
Contracting "arc length parameterized" to "arc" is ambigous (could mean a circle spline). Instead use "even", short for "evenly spaced."
This commit is contained in:
parent
c6232390d3
commit
adc007d4e7
|
@ -613,11 +613,6 @@ template<typename Float, int axes = 2> class BezierSpline {
|
|||
Vector dva = lastdv;
|
||||
Vector a = lastp;
|
||||
|
||||
// Vector dva = derivative(s);
|
||||
// Vector dvb = derivative(s + ds);
|
||||
// Vector a = evaluate(s);
|
||||
// Vector b = evaluate(s + ds);
|
||||
|
||||
Vector vec1 = a - p;
|
||||
Vector vec2 = b - p;
|
||||
|
|
@ -313,7 +313,7 @@ set(SRC
|
|||
BLI_sort.h
|
||||
BLI_sort.hh
|
||||
BLI_sort_utils.h
|
||||
BLI_arc_spline.hh
|
||||
BLI_even_spline.hh
|
||||
BLI_span.hh
|
||||
BLI_stack.h
|
||||
BLI_stack.hh
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
|
||||
#include "MEM_guardedalloc.h"
|
||||
|
||||
#include "BLI_arc_spline.hh"
|
||||
#include "BLI_even_spline.hh"
|
||||
#include "BLI_listbase.h"
|
||||
#include "BLI_math.h"
|
||||
#include "BLI_rand.h"
|
||||
|
@ -58,7 +58,7 @@ using blender::float3;
|
|||
static void paint_stroke_add_sample(
|
||||
const Paint *paint, PaintStroke *stroke, float x, float y, float pressure);
|
||||
|
||||
//#define DRAW_DEBUG_VIS
|
||||
#define DRAW_DEBUG_VIS
|
||||
|
||||
static int paint_stroke_max_points(const Paint *paint, PaintStroke *stroke)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue