(adding) #ifdef HAVE_CONFIG_H #include <config.h> #endif also the Makefile.in's were from previous patch adding the system depend stuff to configure.ac Kent -- mein@cs.umn.edu
76 lines
2.5 KiB
C++
76 lines
2.5 KiB
C++
/**
|
|
* $Id$
|
|
*
|
|
* ***** BEGIN GPL/BL DUAL LICENSE BLOCK *****
|
|
*
|
|
* 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. The Blender
|
|
* Foundation also sells licenses for use in proprietary software under
|
|
* the Blender License. See http://www.blender.org/BL/ for information
|
|
* about this.
|
|
*
|
|
* 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
*
|
|
* The Original Code is Copyright (C) 2001-2002 by NaN Holding BV.
|
|
* All rights reserved.
|
|
*
|
|
* The Original Code is: all of this file.
|
|
*
|
|
* Contributor(s): none yet.
|
|
*
|
|
* ***** END GPL/BL DUAL LICENSE BLOCK *****
|
|
* protos for view.c -- not complete
|
|
*/
|
|
|
|
#ifndef BSE_VIEW_H
|
|
#define BSE_VIEW_H
|
|
|
|
#ifdef HAVE_CONFIG_H
|
|
#include <config.h>
|
|
#endif
|
|
|
|
struct Object;
|
|
struct BoundBox;
|
|
struct View3D;
|
|
struct ScrArea;
|
|
|
|
void persp3d(struct View3D *v3d, int a);
|
|
void persp_general(int a);
|
|
void persp(int a);
|
|
void initgrabz(float x, float y, float z);
|
|
void window_to_3d(float *vec, short mx, short my);
|
|
void project_short(float *vec, short *adr);
|
|
void project_short_noclip(float *vec, short *adr);
|
|
int boundbox_clip(float obmat[][4], struct BoundBox *bb);
|
|
void fdrawline(float x1, float y1, float x2, float y2);
|
|
void fdrawbox(float x1, float y1, float x2, float y2);
|
|
void sdrawline(short x1, short y1, short x2, short y2);
|
|
void sdrawbox(short x1, short y1, short x2, short y2);
|
|
void calctrackballvecfirst(struct rcti *area, short *mval, float *vec);
|
|
void calctrackballvec(struct rcti *area, short *mval, float *vec);
|
|
void viewmove(int mode);
|
|
void setwinmatrixview3d(struct rctf *rect);
|
|
void obmat_to_viewmat(struct Object *ob);
|
|
void setviewmatrixview3d(void);
|
|
float *give_cursor(void);
|
|
unsigned int free_localbit(void);
|
|
void initlocalview(void);
|
|
void centreview(void);
|
|
void restore_localviewdata(struct View3D *vd);
|
|
void endlocalview(struct ScrArea *sa);
|
|
void view3d_home(int centre);
|
|
short selectprojektie(unsigned int *buffer, short x1, short y1, short x2, short y2);
|
|
void view3d_align_axis_to_vector(struct View3D *v3d, int axisidx, float vec[3]);
|
|
|
|
#endif
|
|
|