2013-08-26 05:08:25 +00:00
|
|
|
// Copyright 2013 The CGMath Developers. For a full listing of the authors,
|
2013-07-11 23:18:05 +00:00
|
|
|
// refer to the AUTHORS file at the top-level directory of this distribution.
|
|
|
|
//
|
|
|
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
// you may not use this file except in compliance with the License.
|
|
|
|
// You may obtain a copy of the License at
|
|
|
|
//
|
|
|
|
// http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
//
|
|
|
|
// Unless required by applicable law or agreed to in writing, software
|
|
|
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
// See the License for the specific language governing permissions and
|
|
|
|
// limitations under the License.
|
|
|
|
|
2013-08-26 05:08:25 +00:00
|
|
|
#[link(name = "cgmath",
|
|
|
|
vers = "0.1",
|
|
|
|
author = "Brendan Zabarauskas",
|
|
|
|
url = "https://github.com/bjz/cgmath-rs")];
|
2013-07-14 01:44:50 +00:00
|
|
|
|
2013-08-26 05:08:25 +00:00
|
|
|
#[comment = "A mathematics library for computer graphics."];
|
|
|
|
#[license = "ASL2"];
|
|
|
|
#[crate_type = "lib"];
|
2013-07-14 01:44:50 +00:00
|
|
|
|
2013-09-03 03:54:03 +00:00
|
|
|
pub mod array;
|
|
|
|
pub mod matrix;
|
|
|
|
pub mod quaternion;
|
|
|
|
pub mod vector;
|
2013-09-03 05:23:56 +00:00
|
|
|
|
2013-09-04 02:20:53 +00:00
|
|
|
pub mod angle;
|
2013-09-05 07:19:31 +00:00
|
|
|
pub mod plane;
|
2013-09-04 02:20:53 +00:00
|
|
|
pub mod point;
|
2013-09-03 10:07:59 +00:00
|
|
|
pub mod ray;
|
2013-09-05 07:19:31 +00:00
|
|
|
pub mod rotation;
|
2013-09-03 10:07:59 +00:00
|
|
|
|
2013-09-03 05:23:56 +00:00
|
|
|
pub mod projection;
|
2013-09-03 06:37:06 +00:00
|
|
|
|
2013-09-05 07:19:31 +00:00
|
|
|
pub mod aabb;
|
|
|
|
pub mod cylinder;
|
2013-09-10 04:51:14 +00:00
|
|
|
pub mod frustum;
|
|
|
|
pub mod intersect;
|
2013-09-05 07:19:31 +00:00
|
|
|
pub mod obb;
|
|
|
|
pub mod sphere;
|