Source: raytracer/finish.h


Annotated List
Files
Globals
Hierarchy
Index
/* *************************************************************************
                          finish.h  -  description
                             -------------------
    begin                : Wed Oct 15 2002
    copyright            : (C) 2002 by Micha Riser
    email                : mriser@gmx.net
 ************************************************************************* */

/* *************************************************************************
 *                                                                         *
 *   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.                                   *
 *                                                                         *
 ************************************************************************* */

#ifndef FINISH_H
#define FINISH_H

#include "types.h"
#include "object3d.h"
#include "colour.h"

/**Surface finish. Includes diffuse and reflection properties and phong
  *highlighting.
  *@author Micha Riser
  */

class Finish {

public: // Public attributes
    Colour3 ambient;
    FLT diffuse;
    FLT reflection;
    FLT phong;
    FLT phongsize;
    
public: // Constructors and destructor
    Finish(Colour3 fambient, FLT fdiffuse, FLT freflection, 
      FLT fphong, FLT fphongsize): 
      ambient(fambient), diffuse(fdiffuse), reflection(freflection), 
      phong(fphong), phongsize(fphongsize) {}

    ~Finish() {}

};

#endif

Generated by: micha@laptop on Thu Oct 24 20:25:24 2002, using kdoc 2.0a53.