MCPcopy Create free account
hub / github.com/Tencent/libpag / MaxFloat3

Function MaxFloat3

exporter/src/export/stream/StreamProperty.cpp:40–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38}
39
40static float MaxFloat3(float a, float b, float c) {
41 auto t = a > b ? a : b;
42 return t > c ? t : c;
43}
44
45static BezierPoint InterpolatePoint(const BezierPoint& v0, const BezierPoint& v1, const float& t) {
46 auto x = v0.x + (v1.x - v0.x) * t;

Callers 1

DistanceExceedsLimitFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected