AppInc/project.h
changeset 3 93fff7023be8
equal deleted inserted replaced
2:e1e28b0273b0 3:93fff7023be8
       
     1 /*
       
     2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors: Juha Kauppinen, Mika Hokkanen
       
    13 * 
       
    14 * Description: Photo Browser
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef PROJECT_H_
       
    19 #define PROJECT_H_
       
    20 
       
    21 #include <e32std.h>
       
    22 #include <GLES\egl.h>
       
    23 #define GLdouble GLfloat
       
    24 
       
    25 GLint gluProject(GLdouble objx, GLdouble objy, GLdouble objz,
       
    26        const GLdouble model[16], const GLdouble proj[16],
       
    27        const GLint viewport[4],
       
    28        GLdouble * winx, GLdouble * winy, GLdouble * winz);
       
    29 
       
    30 GLint gluUnProject(GLdouble winx, GLdouble winy, GLdouble winz,
       
    31          const GLdouble model[16], const GLdouble proj[16],
       
    32          const GLint viewport[4],
       
    33          GLdouble * objx, GLdouble * objy, GLdouble * objz);
       
    34 
       
    35 #endif /* PROJECT_H_ */