useful comment

This commit is contained in:
jrkb 2025-05-29 19:29:56 +02:00
parent 3ef2ae934d
commit 963d89daf9

View file

@ -138,6 +138,24 @@ def calc_tangent_on_bezier(bezier_point_1, bezier_point_2, t):
).normalized()
# class TestCalcPoint():
# co: mathutils.Vector
# handle_left: mathutils.Vector
# handle_right: mathutils.Vector
# def __init__(self, co, handle_left=None, handle_right=None):
# self.co = co
# if handle_left is not None:
# self.handle_left = handle_left
# if handle_right is not None:
# self.handle_right = handle_right
# a = TestCalcPoint(mathutils.Vector((0,0,0)), handle_right=mathutils.Vector((0,1,0)))
# b = TestCalcPoint(mathutils.Vector((1,0,0)), handle_left=mathutils.Vector((1,1,0)))
# c = TestCalcPoint(mathutils.Vector((0,0,0)), handle_right=mathutils.Vector((0,0,0)))
# d = TestCalcPoint(mathutils.Vector((1,0,0)), handle_left=mathutils.Vector((1,0,0)))
# calc_point_on_bezier(a,b,0.5)
def align_rotations_auto_pivot(