32 lines
605 B
C++
32 lines
605 B
C++
/* -----------------------------------------------------------------------------
|
|
GSFramework
|
|
Copyright 2001-2013 Emmanuel Julien. All Rights Reserved.
|
|
----------------------------------------------------------------------------- */
|
|
|
|
|
|
#ifndef __NRAYTRACER_SPREAD__
|
|
#define __NRAYTRACER_SPREAD__
|
|
|
|
|
|
#include "math/vector.h"
|
|
#include "container/narray.h"
|
|
|
|
|
|
namespace GS {
|
|
namespace Raytrace {
|
|
|
|
//
|
|
struct Spread
|
|
{
|
|
Array <Vector4> spread;
|
|
|
|
bool Initialize(uint u_count, uint v_count, float max_spread = Units::Deg(90.f));
|
|
void Free();
|
|
};
|
|
|
|
} // Raytrace
|
|
} // GS
|
|
|
|
|
|
#endif // __NRAYTRACER_SPREAD__
|