Sha256: 7117780c20ab3420e1c1119c7fcfb134ad719aacea43827905200cf1040d983e

Contents?: true

Size: 524 Bytes

Versions: 3

Compression:

Stored size: 524 Bytes

Contents

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


#include <rucy/rucy.h>
#include <rucy/class.h>
#include <rays/bounds.h>


namespace Rays
{


	Rucy::Class bounds_class ();
	// class Rays::Bounds


}// Rays


namespace Rucy
{


	Value value (const Rays::Bounds& obj);

	Value value (const Rays::Bounds* obj);

	template <> inline Rays::Bounds*
	value_to<Rays::Bounds*> (Value val, bool)
	{
		return get_type_ptr<Rays::Bounds>(val, Rays::bounds_class());
	}


}// Rucy


#endif//EOH

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rays-0.1.6 include/rays/ruby/bounds.h
rays-0.1.5 include/rays/ruby/bounds.h
rays-0.1.4 include/rays/ruby/bounds.h