blob: 3b3350d960d00170905bf5c5ee2535cb3b33bee7 [file] [log] [blame]
// Copyright (c) 2015, Google Inc. Please see the AUTHORS file for details.
// All rights reserved. Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
part of vector_math;
/// Constant factor to convert and angle from degrees to radians.
const double degrees2Radians = math.pi / 180.0;
/// Constant factor to convert and angle from radians to degrees.
const double radians2Degrees = 180.0 / math.pi;