Sha256: 3e82ea8147d7b9d179efaaae9561441cfce10781a55f44d48131885263583f1e

Contents?: true

Size: 691 Bytes

Versions: 4

Compression:

Stored size: 691 Bytes

Contents

// -*- c++ -*-
#pragma once
#ifndef __RAYS_RUBY_POLYGON_H__
#define __RAYS_RUBY_POLYGON_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

4 entries across 4 versions & 1 rubygems

Version Path
rays-0.1.32 include/rays/ruby/polygon.h
rays-0.1.31 include/rays/ruby/polygon.h
rays-0.1.30 include/rays/ruby/polygon.h
rays-0.1.29 include/rays/ruby/polygon.h