mupen64plus-rom/mupen64plus/include/types.h
Anthony J. Bentley fac95380ca Update homepage.
2017-12-28 16:27:20 -07:00

40 lines
1.7 KiB
C

/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* Mupen64plus - types.h *
* Mupen64Plus homepage: https://mupen64plus.org/ *
* Copyright (C) 2008 Marshallh *
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 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 General Public License for more details. *
* *
* You should have received a copy of the GNU General Public License *
* along with this program; if not, write to the *
* Free Software Foundation, Inc., *
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/* Type definitions. */
typedef float vec3_t[3];
typedef struct {
float x;
float y;
} vec2;
/* Simple 3d object. */
typedef struct {
vec3_t pos;
vec3_t mov; /* For camera interpolation. */
vec3_t rot;
} simpleObj;