From 65c848af7bf5162ab207ec2cda5b6ca8e5674ab9 Mon Sep 17 00:00:00 2001 From: Olivia Date: Wed, 28 Dec 2016 12:55:01 +0200 Subject: [PATCH] Adding CommonConstants. --- src/ImageSharp/Common/CommonConstants.cs | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 src/ImageSharp/Common/CommonConstants.cs diff --git a/src/ImageSharp/Common/CommonConstants.cs b/src/ImageSharp/Common/CommonConstants.cs new file mode 100644 index 000000000..4bae66deb --- /dev/null +++ b/src/ImageSharp/Common/CommonConstants.cs @@ -0,0 +1,18 @@ +// +// Copyright (c) James Jackson-South and contributors. +// Licensed under the Apache License, Version 2.0. +// + +namespace ImageSharp.Common +{ + /// + /// Common constants used throughout the project + /// + public static class CommonConstants + { + /// + /// The epsilon for comparing floating point numbers. + /// + public static readonly float Epsilon = 0.001f; + } +}