# gumInternal.h

Go to the documentation of this file.

    00001 /*
    00002  * PSP Software Development Kit - http://www.pspdev.org
    00003  * -----------------------------------------------------------------------
    00004  * Licensed under the BSD license, see LICENSE in PSPSDK root for details.
    00005  *
    00006  * Copyright (c) 2005 Jesper Svennevid
    00007  */
    00008
    00009 #ifndef __gumInternal_h__
    00010 #define __gumInternal_h__
    00011
    00012 #include "pspgum.h"
    00013 #include "../gu/pspgu.h"
    00014
    00015 #define GUM_EPSILON 0.00001f
    00016
    00017 extern int gum_current_mode;
    00018 extern int gum_matrix_update[4];
    00019 extern ScePspFMatrix4* gum_current_matrix;
    00020 extern ScePspFMatrix4* gum_stack_depth[4];
    00021 extern ScePspFMatrix4 gum_matrix_stack[4][32];
    00022
    00023 void gumMultMatrix(ScePspFMatrix4* result, const ScePspFMatrix4* a, const ScePspFMatrix4* b);
    00024 void gumMakeIdentity(ScePspFMatrix4* m);
    00025
    00026 void gumCrossProduct(ScePspFVector3* r, const ScePspFVector3* a, const ScePspFVector3* b);
    00027 void gumNormalize(ScePspFVector3* v);
    00028
    00029 float gumCosf(float a);
    00030 float gumSinf(float a);
    00031
    00032 #endif