You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
msdfgen: Sync with upstream 1.10
This commit is contained in:
@@ -1,18 +1,19 @@
|
||||
|
||||
#include "contour-combiners.h"
|
||||
|
||||
#include <cfloat>
|
||||
#include "arithmetics.hpp"
|
||||
|
||||
namespace msdfgen {
|
||||
|
||||
static void initDistance(double &distance) {
|
||||
distance = SignedDistance::INFINITE.distance;
|
||||
distance = -DBL_MAX;
|
||||
}
|
||||
|
||||
static void initDistance(MultiDistance &distance) {
|
||||
distance.r = SignedDistance::INFINITE.distance;
|
||||
distance.g = SignedDistance::INFINITE.distance;
|
||||
distance.b = SignedDistance::INFINITE.distance;
|
||||
distance.r = -DBL_MAX;
|
||||
distance.g = -DBL_MAX;
|
||||
distance.b = -DBL_MAX;
|
||||
}
|
||||
|
||||
static double resolveDistance(double distance) {
|
||||
|
||||
Reference in New Issue
Block a user