summaryrefslogtreecommitdiff
path: root/scene/2d/camera_2d.cpp
diff options
context:
space:
mode:
authorYaohua Xiong <xiongyaohua@gmail.com>2022-12-07 23:37:59 +0800
committerYaohua Xiong <xiongyaohua@gmail.com>2022-12-14 08:52:14 +0800
commitadeef12b12a9852ec24fa06a145655524816145f (patch)
tree9ee873c2628075f8b7c5c11f3de965d4fbbd014d /scene/2d/camera_2d.cpp
parentdb6976eed4c59b3a320cb26938898c732ef6b7ca (diff)
Handle corner cases for curve baking
When control point and point have equal position, the derivative is 0 vector, which cause error message in Basis::look_at(). This commit handles this case.
Diffstat (limited to 'scene/2d/camera_2d.cpp')
0 files changed, 0 insertions, 0 deletions