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:
5
thirdparty/msdfgen/core/SignedDistance.cpp
vendored
5
thirdparty/msdfgen/core/SignedDistance.cpp
vendored
@@ -2,12 +2,11 @@
|
||||
#include "SignedDistance.h"
|
||||
|
||||
#include <cmath>
|
||||
#include <cfloat>
|
||||
|
||||
namespace msdfgen {
|
||||
|
||||
const SignedDistance SignedDistance::INFINITE(-1e240, 1);
|
||||
|
||||
SignedDistance::SignedDistance() : distance(-1e240), dot(1) { }
|
||||
SignedDistance::SignedDistance() : distance(-DBL_MAX), dot(1) { }
|
||||
|
||||
SignedDistance::SignedDistance(double dist, double d) : distance(dist), dot(d) { }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user