/* * Copyright (C) 1999-2010 Anthony Lomax * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser Public License for more details. * You should have received a copy of the GNU Lesser Public License * along with this program. If not, see . */ /* Vector mathematics functions Anthony Lomax Nov 1992 */ double dot_product_3d(); int cross_product_3d(); double magnitude_3d(); int cross_product_3d(double a1, double a2, double a3, double b1, double b2, double b3, double *p1, double *p2, double *p3);