ruby-gr 0.64.0.1 → 0.64.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c4227a0ab868cbed63c7d88eaa5d74f95d319bf13aaaf27f6a69864aac452320
4
- data.tar.gz: 6fd396df74a2192b5bdb3e2cb02105bd96d9436bbccfce5cca092cb41e9f1980
3
+ metadata.gz: b1174559ffb58dc220fd3e47db3bd8e684f5a60270c4fc0f376570e27ccc7407
4
+ data.tar.gz: 4dc48873c8ff41574333f1dcd5fff826fabaaf0d5bf263520eabdb4292446c9b
5
5
  SHA512:
6
- metadata.gz: 3c50e7d93397d4349919810f0c954e8a63c1b3c7ac2cd8a861cb51e2a6efcb22543a99c7b6bde1023e04fc0e86f4b0a6b393b91d272006effe64075cbd9a34bb
7
- data.tar.gz: 50ec885a694e5d4383638bf538cb792ea0d0d0c6120ccca2079d304fc81c7f0e07e7842fc5382c9607e740e4ff0c51553dc2409838170330d501d00c86c29165
6
+ metadata.gz: 401bb86f4ad5f479ed2fddcbc1a7a81ebd9491df12c6d732c3e73f5308cdf9719757698580d5a70570dda52c8f77e1fdf6f5228056268cd497e8f280673660f2
7
+ data.tar.gz: b3b11048b30d20ae60bcf310bc4ff0fbab447df9e4bd22f8a9629e5e4aeae190228042bdfff37ab3ea714f7bf3273d6ee70b27a699387cce08b3128541251d01
data/README.md CHANGED
@@ -166,10 +166,16 @@ export GKS_WSTYPE=411 # Set the workstation type to gksqt (recommended)
166
166
 
167
167
  GR releases are also available from the [openSUSE Build service](https://software.opensuse.org//download.html?project=science%3Agr-framework&package=gr) for CentOS, Debian, Fedora openSUSE and Ubuntu. Obtain a packaged release [here](https://software.opensuse.org//download.html?project=science%3Agr-framework&package=gr).
168
168
 
169
+ GR will be installed in `/usr/gr`. Set one of the following environment variables so that GR.rb can find the library.
170
+
169
171
  ```sh
170
172
  export GRDIR="/usr/gr" # Check the location with `dpkg -L gr`
171
173
  ```
172
174
 
175
+ ```sh
176
+ export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/usr/gr/lib/pkgconfig"
177
+ ```
178
+
173
179
  #### Windows - MSYS2
174
180
 
175
181
  If you are using Rubyinstaller, pacman will automatically install [mingw-w64-gr](https://packages.msys2.org/base/mingw-w64-gr) when the gem is installed.
data/lib/gr/ffi.rb CHANGED
@@ -37,18 +37,18 @@ module GR
37
37
  try_extern 'void gr_inqtext(double, double, char *, double *, double *)'
38
38
  try_extern 'void gr_inqtextx(double, double, char *, int, double *, double *)'
39
39
  try_extern 'void gr_fillarea(int, double *, double *)'
40
- try_extern 'void gr_cellarray(double, double, double, double, ' \
41
- 'int, int, int, int, int, int, int *)'
42
- try_extern 'void gr_nonuniformcellarray(double *, double *, ' \
43
- 'int, int, int, int, int, int, int *)'
44
- try_extern 'void gr_polarcellarray(double, double, double, double, double, double, ' \
45
- 'int, int, int, int, int, int, int *)'
46
- try_extern 'void gr_nonuniformpolarcellarray(double, double, double *, double *, ' \
47
- 'int, int, int, int, int, int, int *);'
40
+ try_extern 'void gr_cellarray(double, double, double, double,' \
41
+ ' int, int, int, int, int, int, int *)'
42
+ try_extern 'void gr_nonuniformcellarray(double *, double *,' \
43
+ ' int, int, int, int, int, int, int *)'
44
+ try_extern 'void gr_polarcellarray(double, double, double, double, double, double,' \
45
+ ' int, int, int, int, int, int, int *)'
46
+ try_extern 'void gr_nonuniformpolarcellarray(double, double, double *, double *,' \
47
+ ' int, int, int, int, int, int, int *)'
48
48
  try_extern 'void gr_gdp(int, double *, double *, int, int, int *)'
49
49
  try_extern 'void gr_spline(int, double *, double *, int, int)'
50
- try_extern 'void gr_gridit(int, double *, double *, double *, int, int, ' \
51
- 'double *, double *, double *)'
50
+ try_extern 'void gr_gridit(int, double *, double *, double *, int, int,' \
51
+ ' double *, double *, double *)'
52
52
  try_extern 'void gr_setlinetype(int)'
53
53
  try_extern 'void gr_inqlinetype(int *)'
54
54
  try_extern 'void gr_setlinewidth(double)'
@@ -99,10 +99,11 @@ module GR
99
99
  try_extern 'void gr_inqscale(int *)'
100
100
  try_extern 'int gr_textext(double, double, char *)'
101
101
  try_extern 'void gr_inqtextext(double, double, char *, double *, double *)'
102
+ try_extern 'void gr_setscientificformat(int)'
102
103
  try_extern 'void gr_axes(double, double, double, double, int, int, double)'
103
104
  try_extern 'void gr_axeslbl(double, double, double, double, int, int, double,' \
104
- 'void (*)(double, double, const char *, double),' \
105
- 'void (*)(double, double, const char *, double))'
105
+ ' void (*)(double, double, const char *, double),' \
106
+ ' void (*)(double, double, const char *, double))'
106
107
  try_extern 'void gr_grid(double, double, double, double, int, int)'
107
108
  try_extern 'void gr_grid3d(double, double, double, double, double, double, int, int, int)'
108
109
  try_extern 'void gr_verrorbars(int, double *, double *, double *, double *)'
@@ -160,6 +161,7 @@ module GR
160
161
  try_extern 'void gr_resizeselection(int, double, double)'
161
162
  try_extern 'void gr_inqbbox(double *, double *, double *, double *)'
162
163
  try_extern 'double gr_precision(void)'
164
+ try_extern 'int gr_text_maxsize(void)'
163
165
  try_extern 'void gr_setregenflags(int)'
164
166
  try_extern 'int gr_inqregenflags(void)'
165
167
  try_extern 'void gr_savestate(void)'
@@ -173,30 +175,30 @@ module GR
173
175
  try_extern 'void gr_gradient(int, int, double *, double *, double *, double *, double *)'
174
176
  try_extern 'void gr_quiver(int, int, double *, double *, double *, double *, int)'
175
177
  try_extern 'void gr_interp2(int nx, int ny, const double *x, const double *y, const double *z,' \
176
- 'int nxq, int nyq, const double *xq, const double *yq, double *zq, int method, double extrapval)'
178
+ ' int nxq, int nyq, const double *xq, const double *yq, double *zq, int method, double extrapval)'
177
179
  try_extern 'const char *gr_version(void)'
178
180
  try_extern 'void gr_shade(int, double *, double *, int, int, double *, int, int, int *)'
179
181
  try_extern 'void gr_shadepoints(int, double *, double *, int, int, int)'
180
182
  try_extern 'void gr_shadelines(int, double *, double *, int, int, int)'
181
183
  try_extern 'void gr_panzoom(double, double, double, double, double *, double *, double *, double *)'
182
184
  try_extern 'int gr_findboundary(int, double *, double *, double, double (*)(double, double), int, int *)'
183
- try_extern 'void gr_setresamplemethod(unsigned int flag)'
184
- try_extern 'void gr_inqresamplemethod(unsigned int *flag)'
185
+ try_extern 'void gr_setresamplemethod(unsigned int)'
186
+ try_extern 'void gr_inqresamplemethod(unsigned int *)'
185
187
  try_extern 'void gr_path(int, double *, double *, const char *)'
186
188
  try_extern 'void gr_setborderwidth(double)'
187
189
  try_extern 'void gr_inqborderwidth(double *)'
188
190
  try_extern 'void gr_setbordercolorind(int)'
189
191
  try_extern 'void gr_inqbordercolorind(int *)'
190
192
  try_extern 'void gr_selectclipxform(int)'
191
- try_extern 'void gr_inqclipxform(int *);'
193
+ try_extern 'void gr_inqclipxform(int *)'
192
194
  try_extern 'void gr_setprojectiontype(int)'
193
195
  try_extern 'void gr_inqprojectiontype(int *)'
194
196
  try_extern 'void gr_setperspectiveprojection(double, double, double)'
195
197
  try_extern 'void gr_inqperspectiveprojection(double *, double *, double *)'
196
- try_extern 'void gr_settransformationparameters(double, double, double, ' \
197
- 'double, double, double, double, double, double)'
198
- try_extern 'void gr_inqtransformationparameters(double *, double *, double *, ' \
199
- 'double *, double *, double *, double *, double *, double *);'
198
+ try_extern 'void gr_settransformationparameters(double, double, double,' \
199
+ ' double, double, double, double, double, double)'
200
+ try_extern 'void gr_inqtransformationparameters(double *, double *, double *,' \
201
+ ' double *, double *, double *, double *, double *, double *)'
200
202
  try_extern 'void gr_setorthographicprojection(double, double, double, double, double, double)'
201
203
  try_extern 'void gr_inqorthographicprojection(double *, double *, double *, double *, double *, double *)'
202
204
  try_extern 'void gr_camerainteraction(double, double, double, double)'
@@ -210,7 +212,7 @@ module GR
210
212
  try_extern 'void gr_settextencoding(int)'
211
213
  try_extern 'void gr_inqtextencoding(int *)'
212
214
  try_extern 'void gr_loadfont(char *, int *)'
213
- # gr_setcallback(char *(*)(const char *));
215
+ try_extern 'void gr_setcallback(char *(*)(const char *))'
214
216
  try_extern 'void gr_setthreadnumber(int)'
215
217
  try_extern 'void gr_setpicturesizeforvolume(int, int)'
216
218
  try_extern 'void gr_setvolumebordercalculation(int)'
data/lib/gr.rb CHANGED
@@ -1846,7 +1846,9 @@ module GR
1846
1846
  end
1847
1847
 
1848
1848
  # @return [Numeric]
1849
- # @!method precision
1849
+ # @!method
1850
+
1851
+ # @!method text_maxsize
1850
1852
 
1851
1853
  # @!method setregenflags
1852
1854
 
data/lib/gr3/ffi.rb CHANGED
@@ -32,41 +32,41 @@ module GR3
32
32
  try_extern 'int gr3_setquality(int quality)'
33
33
  try_extern 'int gr3_getimage(int width, int height, int use_alpha, char *pixels)'
34
34
  try_extern 'int gr3_export(const char *filename, int width, int height)'
35
- try_extern 'int gr3_drawimage(float xmin, float xmax, float ymin, float ymax, ' \
36
- 'int width, int height, int drawable_type)'
37
- try_extern 'int gr3_createmesh_nocopy(int *mesh, int n, ' \
38
- 'float *vertices, float *normals, float *colors)'
39
- try_extern 'int gr3_createmesh(int *mesh, int n, ' \
40
- 'const float *vertices, const float *normals, const float *colors)'
41
- try_extern 'int gr3_createindexedmesh_nocopy(int *mesh, int number_of_vertices, ' \
42
- 'float *vertices, float *normals, float *colors, int number_of_indices, int *indices)'
43
- try_extern 'int gr3_createindexedmesh(int *mesh, int number_of_vertices, ' \
44
- 'const float *vertices, const float *normals, const float *colors, ' \
45
- 'int number_of_indices, const int *indices)'
46
- try_extern 'void gr3_drawmesh(int mesh, int n, ' \
47
- 'const float *positions, const float *directions, const float *ups, ' \
48
- 'const float *colors, const float *scales)'
35
+ try_extern 'int gr3_drawimage(float xmin, float xmax, float ymin, float ymax,' \
36
+ ' int width, int height, int drawable_type)'
37
+ try_extern 'int gr3_createmesh_nocopy(int *mesh, int n,' \
38
+ ' float *vertices, float *normals, float *colors)'
39
+ try_extern 'int gr3_createmesh(int *mesh, int n,' \
40
+ ' const float *vertices, const float *normals, const float *colors)'
41
+ try_extern 'int gr3_createindexedmesh_nocopy(int *mesh, int number_of_vertices,' \
42
+ ' float *vertices, float *normals, float *colors, int number_of_indices, int *indices)'
43
+ try_extern 'int gr3_createindexedmesh(int *mesh, int number_of_vertices,' \
44
+ ' const float *vertices, const float *normals, const float *colors,' \
45
+ ' int number_of_indices, const int *indices)'
46
+ try_extern 'void gr3_drawmesh(int mesh, int n,' \
47
+ ' const float *positions, const float *directions, const float *ups,' \
48
+ ' const float *colors, const float *scales)'
49
49
  try_extern 'void gr3_deletemesh(int mesh)'
50
- try_extern 'void gr3_cameralookat(float camera_x, float camera_y, float camera_z, ' \
51
- 'float center_x, float center_y, float center_z, ' \
52
- 'float up_x, float up_y, float up_z)'
53
- try_extern 'int gr3_setcameraprojectionparameters(float vertical_field_of_view, ' \
54
- 'float zNear, float zFar)'
50
+ try_extern 'void gr3_cameralookat(float camera_x, float camera_y, float camera_z,' \
51
+ ' float center_x, float center_y, float center_z,' \
52
+ ' float up_x, float up_y, float up_z)'
53
+ try_extern 'int gr3_setcameraprojectionparameters(float vertical_field_of_view,' \
54
+ ' float zNear, float zFar)'
55
55
  try_extern 'int gr3_getcameraprojectionparameters(float *vfov, float *znear, float *zfar)'
56
56
  try_extern 'void gr3_setlightdirection(float x, float y, float z)'
57
57
  try_extern 'void gr3_setbackgroundcolor(float red, float green, float blue, float alpha)'
58
58
  try_extern 'int gr3_createheightmapmesh(const float *heightmap, int num_columns, int num_rows)'
59
- try_extern 'void gr3_drawheightmap(const float *heightmap, ' \
60
- 'int num_columns, int num_rows, const float *positions, const float *scales)'
61
- try_extern 'void gr3_drawconemesh(int n, const float *positions, const float *directions, ' \
62
- 'const float *colors, const float *radii, const float *lengths)'
63
- try_extern 'void gr3_drawcylindermesh(int n, const float *positions, const float *directions, ' \
64
- 'const float *colors, const float *radii, const float *lengths)'
65
- try_extern 'void gr3_drawspheremesh(int n, const float *positions, ' \
66
- 'const float *colors, const float *radii)'
67
- try_extern 'void gr3_drawcubemesh(int n, ' \
68
- 'const float *positions, const float *directions, const float *ups, ' \
69
- 'const float *colors, const float *scales)'
59
+ try_extern 'void gr3_drawheightmap(const float *heightmap,' \
60
+ ' int num_columns, int num_rows, const float *positions, const float *scales)'
61
+ try_extern 'void gr3_drawconemesh(int n, const float *positions, const float *directions,' \
62
+ ' const float *colors, const float *radii, const float *lengths)'
63
+ try_extern 'void gr3_drawcylindermesh(int n, const float *positions, const float *directions,' \
64
+ ' const float *colors, const float *radii, const float *lengths)'
65
+ try_extern 'void gr3_drawspheremesh(int n, const float *positions,' \
66
+ ' const float *colors, const float *radii)'
67
+ try_extern 'void gr3_drawcubemesh(int n,' \
68
+ ' const float *positions, const float *directions, const float *ups,' \
69
+ ' const float *colors, const float *scales)'
70
70
  try_extern 'void gr3_setobjectid(int id)'
71
71
  try_extern 'int gr3_selectid(int x, int y, int width, int height, int *selection_id)'
72
72
  try_extern 'void gr3_getviewmatrix(float *m)'
@@ -84,64 +84,64 @@ module GR3
84
84
  # 'double step_x, double step_y, double step_z, double offset_x, double offset_y, double offset_z, ' \
85
85
  # 'unsigned int *num_vertices, gr3_coord_t **vertices, gr3_coord_t **normals, ' \
86
86
  # 'unsigned int *num_indices, unsigned int **indices)'
87
- try_extern 'int gr3_createisosurfacemesh(int *mesh, unsigned short *data, ' \
88
- 'unsigned short isolevel, unsigned int dim_x, unsigned int dim_y, unsigned int dim_z, ' \
89
- 'unsigned int stride_x, unsigned int stride_y, unsigned int stride_z, ' \
90
- 'double step_x, double step_y, double step_z, ' \
91
- 'double offset_x, double offset_y, double offset_z)'
92
- try_extern 'int gr3_createsurfacemesh(int *mesh, int nx, int ny, ' \
93
- 'float *px, float *py, float *pz, int option)'
94
- try_extern 'int gr3_createsurface3dmesh(int *mesh, int ncols, int nrows, ' \
95
- 'float *px, float *py, float *pz);'
96
- try_extern 'void gr3_drawmesh_grlike(int mesh, int n, ' \
97
- 'const float *positions, const float *directions, const float *ups, ' \
98
- 'const float *colors, const float *scales)'
87
+ try_extern 'int gr3_createisosurfacemesh(int *mesh, unsigned short *data,' \
88
+ ' unsigned short isolevel, unsigned int dim_x, unsigned int dim_y, unsigned int dim_z,' \
89
+ ' unsigned int stride_x, unsigned int stride_y, unsigned int stride_z,' \
90
+ ' double step_x, double step_y, double step_z,' \
91
+ ' double offset_x, double offset_y, double offset_z)'
92
+ try_extern 'int gr3_createsurfacemesh(int *mesh, int nx, int ny,' \
93
+ ' float *px, float *py, float *pz, int option)'
94
+ try_extern 'int gr3_createsurface3dmesh(int *mesh, int ncols, int nrows,' \
95
+ ' float *px, float *py, float *pz)'
96
+ try_extern 'void gr3_drawmesh_grlike(int mesh, int n,' \
97
+ ' const float *positions, const float *directions, const float *ups,' \
98
+ ' const float *colors, const float *scales)'
99
99
  try_extern 'void gr3_drawsurface(int mesh)'
100
100
  try_extern 'void gr3_surface(int nx, int ny, float *px, float *py, float *pz, int option)'
101
- try_extern 'int gr3_drawtubemesh(int n, float *points, float *colors, float *radii, ' \
102
- 'int num_steps, int num_segments)'
103
- try_extern 'int gr3_createtubemesh(int *mesh, int n, ' \
104
- 'const float *points, const float *colors, const float *radii, ' \
105
- 'int num_steps, int num_segments)'
106
- try_extern 'void gr3_drawspins(int n, const float *positions, const float *directions, const float *colors, ' \
107
- 'float cone_radius, float cylinder_radius, float cone_height, float cylinder_height)'
108
- try_extern 'void gr3_drawmolecule(int n, const float *positions, const float *colors, const float *radii, ' \
109
- 'float bond_radius, const float bond_color[3], float bond_delta)'
110
- try_extern 'void gr3_createxslicemesh(int *mesh, const unsigned short *data, ' \
111
- 'unsigned int ix, unsigned int dim_x, unsigned int dim_y, unsigned int dim_z, ' \
112
- 'unsigned int stride_x, unsigned int stride_y, unsigned int stride_z, ' \
113
- 'double step_x, double step_y, double step_z, ' \
114
- 'double offset_x, double offset_y, double offset_z)'
115
- try_extern 'void gr3_createyslicemesh(int *mesh, const unsigned short *data, ' \
116
- 'unsigned int iy, unsigned int dim_x, unsigned int dim_y, unsigned int dim_z, ' \
117
- 'unsigned int stride_x, unsigned int stride_y, unsigned int stride_z, ' \
118
- 'double step_x, double step_y, double step_z, ' \
119
- 'double offset_x, double offset_y, double offset_z)'
120
- try_extern 'void gr3_createzslicemesh(int *mesh, const unsigned short *data, ' \
121
- 'unsigned int iz, unsigned int dim_x, unsigned int dim_y, unsigned int dim_z, ' \
122
- 'unsigned int stride_x, unsigned int stride_y, unsigned int stride_z, ' \
123
- 'double step_x, double step_y, double step_z, ' \
124
- 'double offset_x, double offset_y, double offset_z)'
101
+ try_extern 'int gr3_drawtubemesh(int n, float *points, float *colors, float *radii,' \
102
+ ' int num_steps, int num_segments)'
103
+ try_extern 'int gr3_createtubemesh(int *mesh, int n,' \
104
+ ' const float *points, const float *colors, const float *radii,' \
105
+ ' int num_steps, int num_segments)'
106
+ try_extern 'void gr3_drawspins(int n, const float *positions, const float *directions, const float *colors,' \
107
+ ' float cone_radius, float cylinder_radius, float cone_height, float cylinder_height)'
108
+ try_extern 'void gr3_drawmolecule(int n, const float *positions, const float *colors, const float *radii,' \
109
+ ' float bond_radius, const float bond_color[3], float bond_delta)'
110
+ try_extern 'void gr3_createxslicemesh(int *mesh, const unsigned short *data,' \
111
+ ' unsigned int ix, unsigned int dim_x, unsigned int dim_y, unsigned int dim_z,' \
112
+ ' unsigned int stride_x, unsigned int stride_y, unsigned int stride_z,' \
113
+ ' double step_x, double step_y, double step_z,' \
114
+ ' double offset_x, double offset_y, double offset_z)'
115
+ try_extern 'void gr3_createyslicemesh(int *mesh, const unsigned short *data,' \
116
+ ' unsigned int iy, unsigned int dim_x, unsigned int dim_y, unsigned int dim_z,' \
117
+ ' unsigned int stride_x, unsigned int stride_y, unsigned int stride_z,' \
118
+ ' double step_x, double step_y, double step_z,' \
119
+ ' double offset_x, double offset_y, double offset_z)'
120
+ try_extern 'void gr3_createzslicemesh(int *mesh, const unsigned short *data,' \
121
+ ' unsigned int iz, unsigned int dim_x, unsigned int dim_y, unsigned int dim_z,' \
122
+ ' unsigned int stride_x, unsigned int stride_y, unsigned int stride_z,' \
123
+ ' double step_x, double step_y, double step_z,' \
124
+ ' double offset_x, double offset_y, double offset_z)'
125
125
  try_extern 'void gr3_drawxslicemesh(const unsigned short *data, unsigned int ix,' \
126
- 'unsigned int dim_x, unsigned int dim_y, unsigned int dim_z, ' \
127
- 'unsigned int stride_x, unsigned int stride_y, unsigned int stride_z, ' \
128
- 'double step_x, double step_y, double step_z, ' \
129
- 'double offset_x, double offset_y, double offset_z)'
130
- try_extern 'void gr3_drawyslicemesh(const unsigned short *data, unsigned int iy, ' \
131
- 'unsigned int dim_x, unsigned int dim_y, unsigned int dim_z, ' \
132
- 'unsigned int stride_x, unsigned int stride_y, unsigned int stride_z, ' \
133
- 'double step_x, double step_y, double step_z, ' \
134
- 'double offset_x, double offset_y, double offset_z)'
135
- try_extern 'void gr3_drawzslicemesh(const unsigned short *data, unsigned int iz, ' \
136
- 'unsigned int dim_x, unsigned int dim_y, unsigned int dim_z, ' \
137
- 'unsigned int stride_x, unsigned int stride_y, unsigned int stride_z, ' \
138
- 'double step_x, double step_y, double step_z, ' \
139
- 'double offset_x, double offset_y, double offset_z)'
140
- # try_extern 'void gr3_drawtrianglesurface(int n, const float *triangles)'
141
- try_extern 'void gr_volume(int nx, int ny, int nz, double *data, ' \
142
- 'int algorithm, double *dmin_ptr, double *dmax_ptr)'
126
+ ' unsigned int dim_x, unsigned int dim_y, unsigned int dim_z,' \
127
+ ' unsigned int stride_x, unsigned int stride_y, unsigned int stride_z,' \
128
+ ' double step_x, double step_y, double step_z,' \
129
+ ' double offset_x, double offset_y, double offset_z)'
130
+ try_extern 'void gr3_drawyslicemesh(const unsigned short *data, unsigned int iy,' \
131
+ ' unsigned int dim_x, unsigned int dim_y, unsigned int dim_z,' \
132
+ ' unsigned int stride_x, unsigned int stride_y, unsigned int stride_z,' \
133
+ ' double step_x, double step_y, double step_z,' \
134
+ ' double offset_x, double offset_y, double offset_z)'
135
+ try_extern 'void gr3_drawzslicemesh(const unsigned short *data, unsigned int iz,' \
136
+ ' unsigned int dim_x, unsigned int dim_y, unsigned int dim_z,' \
137
+ ' unsigned int stride_x, unsigned int stride_y, unsigned int stride_z,' \
138
+ ' double step_x, double step_y, double step_z,' \
139
+ ' double offset_x, double offset_y, double offset_z)'
140
+ try_extern 'void gr3_drawtrianglesurface(int n, const float *triangles)'
141
+ try_extern 'void gr_volume(int nx, int ny, int nz, double *data,' \
142
+ ' int algorithm, double *dmin_ptr, double *dmax_ptr)'
143
143
  try_extern 'void gr3_setorthographicprojection' \
144
- '(float left, float right, float bottom, float top, float znear, float zfar)'
144
+ '(float left, float right, float bottom, float top, float znear, float zfar)'
145
145
  try_extern 'void gr3_setsurfaceoption(int option)'
146
146
  try_extern 'int gr3_getsurfaceoption(void)'
147
147
  try_extern 'int gr3_getlightsources(int max_num_lights, float *positions, float *colors)'
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module GRCommons
4
- VERSION = '0.64.0.1'
4
+ VERSION = '0.64.3.0'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-gr
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.64.0.1
4
+ version: 0.64.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - kojix2
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-04-30 00:00:00.000000000 Z
11
+ date: 2022-05-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fiddle
@@ -108,7 +108,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
108
108
  requirements:
109
109
  - - ">="
110
110
  - !ruby/object:Gem::Version
111
- version: '2.5'
111
+ version: '2.6'
112
112
  required_rubygems_version: !ruby/object:Gem::Requirement
113
113
  requirements:
114
114
  - - ">="