blob: fe9367a926eae89cf049d928268a1a0a23f291aa [file] [log] [blame]
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CONSTANTS_GLSL_
#define CONSTANTS_GLSL_
const float kEhCloseEnough = 0.000001;
// 1 / (2 * pi)
const float k1Over2Pi = 0.1591549430918;
// sqrt(2 * pi)
const float kSqrtTwoPi = 2.50662827463;
// sqrt(2) / 2 == 1 / sqrt(2)
const float kHalfSqrtTwo = 0.70710678118;
#endif