Sha256: 626f21040e447cd1f7d3667a8c0dce1a6621ac6ecd2c868645462bb775651d4d

Contents?: true

Size: 776 Bytes

Versions: 20

Compression:

Stored size: 776 Bytes

Contents

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


#define GLM_FORCE_CXX03


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


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


}// Rays


#endif//EOH

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
rays-0.1.46 include/rays/defs.h
rays-0.1.45 include/rays/defs.h
rays-0.1.44 include/rays/defs.h
rays-0.1.43 include/rays/defs.h
rays-0.1.42 include/rays/defs.h
rays-0.1.40 include/rays/defs.h
rays-0.1.39 include/rays/defs.h
rays-0.1.38 include/rays/defs.h
rays-0.1.37 include/rays/defs.h
rays-0.1.36 include/rays/defs.h
rays-0.1.35 include/rays/defs.h
rays-0.1.34 include/rays/defs.h
rays-0.1.33 include/rays/defs.h
rays-0.1.32 include/rays/defs.h
rays-0.1.31 include/rays/defs.h
rays-0.1.30 include/rays/defs.h
rays-0.1.29 include/rays/defs.h
rays-0.1.28 include/rays/defs.h
rays-0.1.27 include/rays/defs.h
rays-0.1.26 include/rays/defs.h