Sha256: 15a5e86252a615fcb376c1e995ce22815f4ed80b0d32b474c9134511b20bb335

Contents?: true

Size: 714 Bytes

Versions: 16

Compression:

Stored size: 714 Bytes

Contents

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


#include <rucy/rucy.h>
#include <rucy/class.h>
#include <rucy/extension.h>
#include <rays/polygon.h>


namespace Rays
{


	Rucy::Class polygon_class ();
	// class Rays::Polygon

	Rucy::Class polygon_line_class ();
	// class Rays::Polygon::Line


}// Rays


RUCY_DECLARE_VALUE_OR_ARRAY_FROM_TO(Rays::Polygon)

RUCY_DECLARE_VALUE_OR_ARRAY_FROM_TO(Rays::Polygon::Line)


namespace Rucy
{


	template <> inline Class
	get_ruby_class<Rays::Polygon> ()
	{
		return Rays::polygon_class();
	}

	template <> inline Class
	get_ruby_class<Rays::Polygon::Line> ()
	{
		return Rays::polygon_line_class();
	}


}// Rucy


#endif//EOH

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
rays-0.1.28 include/rays/ruby/polygon.h
rays-0.1.27 include/rays/ruby/polygon.h
rays-0.1.26 include/rays/ruby/polygon.h
rays-0.1.25 include/rays/ruby/polygon.h
rays-0.1.24 include/rays/ruby/polygon.h
rays-0.1.23 include/rays/ruby/polygon.h
rays-0.1.22 include/rays/ruby/polygon.h
rays-0.1.21 include/rays/ruby/polygon.h
rays-0.1.20 include/rays/ruby/polygon.h
rays-0.1.19 include/rays/ruby/polygon.h
rays-0.1.18 include/rays/ruby/polygon.h
rays-0.1.17 include/rays/ruby/polygon.h
rays-0.1.16 include/rays/ruby/polygon.h
rays-0.1.15 include/rays/ruby/polygon.h
rays-0.1.14 include/rays/ruby/polygon.h
rays-0.1.13 include/rays/ruby/polygon.h