Sha256: 8bef065700d4f1e6298050fdf01b5c359aa0f750c6e0f8eeefaa0674e12ab218

Contents?: true

Size: 1.1 KB

Versions: 4

Compression:

Stored size: 1.1 KB

Contents

// -*- c++ -*-
#pragma once
#ifndef __RAYS_DEFS_H__
#define __RAYS_DEFS_H__


#define GLM_FORCE_CXX03


#include <xot/defs.h>
#include <xot/string.h>


#if defined(WIN32) && defined(GCC) && defined(RAYS)
	#define RAYS_EXPORT __declspec(dllexport)
#else
	#define RAYS_EXPORT
#endif


namespace Rays
{


	using namespace Xot::Types;

	using Xot::String;


	typedef float coord;


	enum CapType
	{

		CAP_BUTT = 0,

		CAP_ROUND,

		CAP_SQUARE,

		CAP_MAX,

		CAP_DEFAULT = CAP_BUTT

	};// CapType


	enum JoinType
	{

		JOIN_MITER = 0,

		JOIN_ROUND,

		JOIN_SQUARE,

		JOIN_MAX,

		JOIN_DEFAULT             = JOIN_MITER,
		JOIN_DEFAULT_MITER_LIMIT = 2

	};// JoinType


	enum BlendMode
	{

		BLEND_NORMAL = 0,

		BLEND_ADD,

		BLEND_SUBTRACT,

		BLEND_LIGHTEST,

		BLEND_DARKEST,

		BLEND_EXCLUSION,

		BLEND_MULTIPLY,

		BLEND_SCREEN,

		BLEND_REPLACE,

		BLEND_MAX

	};// BlendMode


	enum TexCoordMode
	{

		TEXCOORD_IMAGE = 0,

		TEXCOORD_NORMAL,

		TEXCOORD_MODE_MAX

	};// TexCoordMode


	enum TexCoordWrap
	{

		TEXCOORD_CLAMP = 0,

		TEXCOORD_REPEAT,

		TEXCOORD_WRAP_MAX

	};// TexCoordWrap


}// Rays


#endif//EOH

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rays-0.3.3 include/rays/defs.h
rays-0.3.2 include/rays/defs.h
rays-0.3.1 include/rays/defs.h
rays-0.3 include/rays/defs.h