Sha256: 06d2764b57fdf655a16487043dc1ca37d6511bbb8f7fff123bcdf6b8b8b09ea1

Contents?: true

Size: 691 Bytes

Versions: 14

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>


RUCY_DECLARE_VALUE_OR_ARRAY_FROM_TO(Rays::Polygon)

RUCY_DECLARE_VALUE_OR_ARRAY_FROM_TO(Rays::Polygon::Line)


namespace Rays
{


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

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


}// Rays


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

14 entries across 14 versions & 1 rubygems

Version Path
rays-0.1.47 include/rays/ruby/polygon.h
rays-0.1.46 include/rays/ruby/polygon.h
rays-0.1.45 include/rays/ruby/polygon.h
rays-0.1.44 include/rays/ruby/polygon.h
rays-0.1.43 include/rays/ruby/polygon.h
rays-0.1.42 include/rays/ruby/polygon.h
rays-0.1.40 include/rays/ruby/polygon.h
rays-0.1.39 include/rays/ruby/polygon.h
rays-0.1.38 include/rays/ruby/polygon.h
rays-0.1.37 include/rays/ruby/polygon.h
rays-0.1.36 include/rays/ruby/polygon.h
rays-0.1.35 include/rays/ruby/polygon.h
rays-0.1.34 include/rays/ruby/polygon.h
rays-0.1.33 include/rays/ruby/polygon.h