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