fvector.h

来自「pixil 最新的嵌入linux 應用程序集,別的地方很難下載」· C头文件 代码 · 共 58 行

H
58
字号
/* -*-C++-*-    "$Id: FVector.H,v 1.1.1.1 2003/08/07 21:18:37 jasonk Exp $"      Copyright 1999-2000 by the Flek development team.      This library is free software; you can redistribute it and/or   modify it under the terms of the GNU Library General Public   License as published by the Free Software Foundation; either   version 2 of the License, or (at your option) any later version.      This library 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   Library General Public License for more details.      You should have received a copy of the GNU Library General Public   License along with this library; if not, write to the Free Software   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307   USA.      Please report all bugs and problems to "flek-devel@sourceforge.net".*/// The original vector, matrix, and quaternion code was written by// Vinod Srinivasan and then adapted for Flek.#ifndef _FVECTOR_H_#define _FVECTOR_H_/* * Common stuff for all the static Vector classes * Forward declarations for all the classes is included here, along with  * common include files and prototypes for functions that use different kinds * of Vectors. */// Common include files#include <stdlib.h>#include <Flek/math.H>#include <Flek/FBase.H>#include <Flek/iostream.H>// Forward declarationsclass FVector2;class FVector3;class FVector4;class FGl;// Function prototypesFVector3 operator % (const FVector2& vec1, const FVector2& vec2);FVector3 operator % (const FVector3& vec1, const FVector2& vec2);FVector3 operator % (const FVector2& vec1, const FVector3& vec2);#endif // #ifndef FVECTOR_H_

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?