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