dart / external / github.com / google / vector_math.dart / 0cf5fa4bcd8e4175338444e0e6a3b09c52358078 / . / lib / src / vector_math / constants.dart

// 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; |