Newer
Older
Import / research / 3d-z-maps / phong-tesselation / PhongTriangle.h
@John John on 29 Dec 2020 750 bytes bulk import from macbookpro checkouts
/*
 * =====================================================================================
 *
 *       Filename:  PhongTriangle.h
 *
 *    Description:  
 *
 *        Version:  1.0
 *        Created:  16/09/2011 21:50:30
 *       Revision:  none
 *       Compiler:  gcc
 *
 *         Author:  John Ryland (jryland), jryland@xiaofrog.com
 *        Company:  InvertedLogic
 *
 * =====================================================================================
 */

#ifndef __PHONG_TRIANGLE_H__
#define __PHONG_TRIANGLE_H__


class vec3
{
public:
    void normalize();
    
    float x, y, z;
};


class PhongTriangle
{
public:
    PhongTriangle();
    ~PhongTriangle();

    vec3  pos[3];
    vec3  norm[3];
};


#endif // __PHONG_TRIANGLE_H__