fxruby 1.6.46 → 1.6.47
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/.github/workflows/binary.yml +4 -4
- data/.github/workflows/ci.yml +3 -3
- data/.yardopts +2 -2
- data/Gemfile +1 -1
- data/History.md +6 -0
- data/README.md +2 -2
- data/Rakefile +1 -1
- data/appveyor.yml +1 -1
- data/doap.rdf +1 -1
- data/docs/Fox/Canvas/CanvasError.html +2 -2
- data/docs/Fox/Canvas/CircleShape.html +2 -2
- data/docs/Fox/Canvas/ImageShape.html +2 -2
- data/docs/Fox/Canvas/LineShape.html +2 -2
- data/docs/Fox/Canvas/PolygonShape.html +2 -2
- data/docs/Fox/Canvas/RectangleShape.html +2 -2
- data/docs/Fox/Canvas/SelectionPolicy.html +2 -2
- data/docs/Fox/Canvas/Shape.html +2 -2
- data/docs/Fox/Canvas/ShapeCanvas.html +2 -2
- data/docs/Fox/Canvas/ShapeGroup.html +2 -2
- data/docs/Fox/Canvas/SingleSelectionPolicy.html +2 -2
- data/docs/Fox/Canvas/TextShape.html +2 -2
- data/docs/Fox/Canvas.html +2 -2
- data/docs/Fox/FTNonModal.html +2 -2
- data/docs/Fox/FX4Splitter.html +2 -2
- data/docs/Fox/FX7Segment.html +2 -2
- data/docs/Fox/FXAccelTable.html +2 -2
- data/docs/Fox/FXApp.html +2 -2
- data/docs/Fox/FXArc.html +2 -2
- data/docs/Fox/FXArrowButton.html +2 -2
- data/docs/Fox/FXBMPIcon.html +2 -2
- data/docs/Fox/FXBMPImage.html +2 -2
- data/docs/Fox/FXBitmap.html +2 -2
- data/docs/Fox/FXBitmapFrame.html +2 -2
- data/docs/Fox/FXBitmapView.html +2 -2
- data/docs/Fox/FXButton.html +2 -2
- data/docs/Fox/FXCURCursor.html +2 -2
- data/docs/Fox/FXCalendar.html +2 -2
- data/docs/Fox/FXCanvas.html +2 -2
- data/docs/Fox/FXCheckButton.html +2 -2
- data/docs/Fox/FXChoiceBox.html +2 -2
- data/docs/Fox/FXColor.html +2 -2
- data/docs/Fox/FXColorBar.html +2 -2
- data/docs/Fox/FXColorDialog.html +2 -2
- data/docs/Fox/FXColorItem.html +2 -2
- data/docs/Fox/FXColorList.html +2 -2
- data/docs/Fox/FXColorRing.html +2 -2
- data/docs/Fox/FXColorSelector.html +2 -2
- data/docs/Fox/FXColorWell.html +2 -2
- data/docs/Fox/FXColorWheel.html +2 -2
- data/docs/Fox/FXComboBox.html +2 -2
- data/docs/Fox/FXComboTableItem.html +2 -2
- data/docs/Fox/FXCommand.html +2 -2
- data/docs/Fox/FXComposite.html +2 -2
- data/docs/Fox/FXCursor.html +2 -2
- data/docs/Fox/FXDC.html +2 -2
- data/docs/Fox/FXDCPrint.html +2 -2
- data/docs/Fox/FXDCWindow.html +2 -2
- data/docs/Fox/FXDataTarget.html +2 -2
- data/docs/Fox/FXDebugTarget.html +2 -2
- data/docs/Fox/FXDelegator.html +2 -2
- data/docs/Fox/FXDial.html +2 -2
- data/docs/Fox/FXDialogBox.html +2 -2
- data/docs/Fox/FXDict.html +2 -2
- data/docs/Fox/FXDirBox.html +2 -2
- data/docs/Fox/FXDirDialog.html +2 -2
- data/docs/Fox/FXDirItem.html +2 -2
- data/docs/Fox/FXDirList.html +2 -2
- data/docs/Fox/FXDirSelector.html +2 -2
- data/docs/Fox/FXDockBar.html +2 -2
- data/docs/Fox/FXDockHandler.html +2 -2
- data/docs/Fox/FXDockSite.html +2 -2
- data/docs/Fox/FXDockTitle.html +2 -2
- data/docs/Fox/FXDocument.html +2 -2
- data/docs/Fox/FXDragCorner.html +2 -2
- data/docs/Fox/FXDrawable.html +2 -2
- data/docs/Fox/FXDriveBox.html +2 -2
- data/docs/Fox/FXEvent.html +2 -2
- data/docs/Fox/FXExtentd.html +2 -2
- data/docs/Fox/FXExtentf.html +2 -2
- data/docs/Fox/FXFileAssoc.html +2 -2
- data/docs/Fox/FXFileDialog.html +2 -2
- data/docs/Fox/FXFileDict.html +2 -2
- data/docs/Fox/FXFileItem.html +2 -2
- data/docs/Fox/FXFileList.html +2 -2
- data/docs/Fox/FXFileSelector.html +2 -2
- data/docs/Fox/FXFileStream.html +2 -2
- data/docs/Fox/FXFoldingItem.html +2 -2
- data/docs/Fox/FXFoldingList.html +2 -2
- data/docs/Fox/FXFont.html +2 -2
- data/docs/Fox/FXFontDesc.html +2 -2
- data/docs/Fox/FXFontDialog.html +2 -2
- data/docs/Fox/FXFontSelector.html +2 -2
- data/docs/Fox/FXFrame.html +2 -2
- data/docs/Fox/FXGIFCursor.html +2 -2
- data/docs/Fox/FXGIFIcon.html +2 -2
- data/docs/Fox/FXGIFImage.html +2 -2
- data/docs/Fox/FXGLCanvas.html +2 -2
- data/docs/Fox/FXGLCone.html +53 -60
- data/docs/Fox/FXGLContext.html +2 -2
- data/docs/Fox/FXGLCube.html +72 -78
- data/docs/Fox/FXGLCylinder.html +62 -69
- data/docs/Fox/FXGLGroup.html +57 -58
- data/docs/Fox/FXGLLine.html +44 -50
- data/docs/Fox/FXGLObject.html +2 -2
- data/docs/Fox/FXGLPoint.html +30 -36
- data/docs/Fox/FXGLShape.html +2 -2
- data/docs/Fox/FXGLSphere.html +38 -45
- data/docs/Fox/FXGLViewer.html +2 -2
- data/docs/Fox/FXGLVisual.html +2 -2
- data/docs/Fox/FXGradient.html +2 -2
- data/docs/Fox/FXGradientBar.html +2 -2
- data/docs/Fox/FXGroupBox.html +2 -2
- data/docs/Fox/FXHeader.html +2 -2
- data/docs/Fox/FXHeaderItem.html +2 -2
- data/docs/Fox/FXHiliteStyle.html +2 -2
- data/docs/Fox/FXHorizontalFrame.html +2 -2
- data/docs/Fox/FXHorizontalSeparator.html +2 -2
- data/docs/Fox/FXICOIcon.html +2 -2
- data/docs/Fox/FXICOImage.html +2 -2
- data/docs/Fox/FXIcon.html +2 -2
- data/docs/Fox/FXIconDict.html +2 -2
- data/docs/Fox/FXIconItem.html +2 -2
- data/docs/Fox/FXIconList.html +2 -2
- data/docs/Fox/FXIconSource.html +2 -2
- data/docs/Fox/FXId.html +2 -2
- data/docs/Fox/FXImage.html +2 -2
- data/docs/Fox/FXImageFrame.html +2 -2
- data/docs/Fox/FXImageView.html +2 -2
- data/docs/Fox/FXInputDialog.html +2 -2
- data/docs/Fox/FXIrb.html +2 -2
- data/docs/Fox/FXJPGIcon.html +2 -2
- data/docs/Fox/FXJPGImage.html +2 -2
- data/docs/Fox/FXKnob.html +2 -2
- data/docs/Fox/FXLabel.html +2 -2
- data/docs/Fox/FXLight.html +2 -2
- data/docs/Fox/FXList.html +2 -2
- data/docs/Fox/FXListBox.html +2 -2
- data/docs/Fox/FXListItem.html +2 -2
- data/docs/Fox/FXMDIChild.html +2 -2
- data/docs/Fox/FXMDIClient.html +2 -2
- data/docs/Fox/FXMDIDeleteButton.html +2 -2
- data/docs/Fox/FXMDIMaximizeButton.html +2 -2
- data/docs/Fox/FXMDIMenu.html +2 -2
- data/docs/Fox/FXMDIMinimizeButton.html +2 -2
- data/docs/Fox/FXMDIRestoreButton.html +2 -2
- data/docs/Fox/FXMDIWindowButton.html +2 -2
- data/docs/Fox/FXMainWindow.html +2 -2
- data/docs/Fox/FXMaterial.html +2 -2
- data/docs/Fox/FXMatrix.html +2 -2
- data/docs/Fox/FXMemoryBuffer.html +2 -2
- data/docs/Fox/FXMemoryStream.html +2 -2
- data/docs/Fox/FXMenuBar.html +2 -2
- data/docs/Fox/FXMenuButton.html +2 -2
- data/docs/Fox/FXMenuCaption.html +2 -2
- data/docs/Fox/FXMenuCascade.html +2 -2
- data/docs/Fox/FXMenuCheck.html +2 -2
- data/docs/Fox/FXMenuCommand.html +2 -2
- data/docs/Fox/FXMenuPane.html +2 -2
- data/docs/Fox/FXMenuRadio.html +2 -2
- data/docs/Fox/FXMenuSeparator.html +2 -2
- data/docs/Fox/FXMenuTitle.html +2 -2
- data/docs/Fox/FXMessageBox.html +2 -2
- data/docs/Fox/FXObject.html +2 -2
- data/docs/Fox/FXOption.html +2 -2
- data/docs/Fox/FXOptionMenu.html +2 -2
- data/docs/Fox/FXPCXIcon.html +2 -2
- data/docs/Fox/FXPCXImage.html +2 -2
- data/docs/Fox/FXPNGIcon.html +2 -2
- data/docs/Fox/FXPNGImage.html +2 -2
- data/docs/Fox/FXPPMIcon.html +2 -2
- data/docs/Fox/FXPPMImage.html +2 -2
- data/docs/Fox/FXPSBounds.html +2 -2
- data/docs/Fox/FXPacker.html +2 -2
- data/docs/Fox/FXPicker.html +2 -2
- data/docs/Fox/FXPopup.html +2 -2
- data/docs/Fox/FXPrintDialog.html +2 -2
- data/docs/Fox/FXPrinter.html +2 -2
- data/docs/Fox/FXProgressBar.html +2 -2
- data/docs/Fox/FXProgressDialog.html +2 -2
- data/docs/Fox/FXPseudoKeyboard.html +2 -2
- data/docs/Fox/FXPseudoMouse.html +2 -2
- data/docs/Fox/FXPseudoTarget.html +2 -2
- data/docs/Fox/FXQuatd.html +2 -2
- data/docs/Fox/FXQuatf.html +2 -2
- data/docs/Fox/FXRGBIcon.html +2 -2
- data/docs/Fox/FXRGBImage.html +2 -2
- data/docs/Fox/FXRadioButton.html +2 -2
- data/docs/Fox/FXRanged.html +2 -2
- data/docs/Fox/FXRangef.html +2 -2
- data/docs/Fox/FXRealSlider.html +2 -2
- data/docs/Fox/FXRealSpinner.html +2 -2
- data/docs/Fox/FXRecentFiles.html +2 -2
- data/docs/Fox/FXRectangle.html +2 -2
- data/docs/Fox/FXRegion.html +2 -2
- data/docs/Fox/FXRegistry.html +2 -2
- data/docs/Fox/FXReplaceDialog.html +2 -2
- data/docs/Fox/FXRootWindow.html +2 -2
- data/docs/Fox/FXRuler.html +2 -2
- data/docs/Fox/FXRulerView.html +2 -2
- data/docs/Fox/FXScintilla.html +2 -2
- data/docs/Fox/FXScrollArea.html +2 -2
- data/docs/Fox/FXScrollBar.html +2 -2
- data/docs/Fox/FXScrollCorner.html +2 -2
- data/docs/Fox/FXScrollPane.html +2 -2
- data/docs/Fox/FXScrollWindow.html +2 -2
- data/docs/Fox/FXSearchDialog.html +2 -2
- data/docs/Fox/FXSegment.html +2 -2
- data/docs/Fox/FXSeparator.html +2 -2
- data/docs/Fox/FXSettings.html +2 -2
- data/docs/Fox/FXShell.html +2 -2
- data/docs/Fox/FXShutter.html +2 -2
- data/docs/Fox/FXShutterItem.html +2 -2
- data/docs/Fox/FXSize.html +2 -2
- data/docs/Fox/FXSlider.html +2 -2
- data/docs/Fox/FXSphered.html +2 -2
- data/docs/Fox/FXSpheref.html +2 -2
- data/docs/Fox/FXSpinner.html +2 -2
- data/docs/Fox/FXSplashScreen.html +2 -2
- data/docs/Fox/FXSplashWindow.html +2 -2
- data/docs/Fox/FXSplitter.html +2 -2
- data/docs/Fox/FXSpring.html +2 -2
- data/docs/Fox/FXStatusBar.html +2 -2
- data/docs/Fox/FXStatusLine.html +2 -2
- data/docs/Fox/FXStream.html +2 -2
- data/docs/Fox/FXStreamAllocError.html +2 -2
- data/docs/Fox/FXStreamEndError.html +2 -2
- data/docs/Fox/FXStreamError.html +2 -2
- data/docs/Fox/FXStreamFailureError.html +2 -2
- data/docs/Fox/FXStreamFormatError.html +2 -2
- data/docs/Fox/FXStreamFullError.html +2 -2
- data/docs/Fox/FXStreamNoReadError.html +2 -2
- data/docs/Fox/FXStreamNoWriteError.html +2 -2
- data/docs/Fox/FXStreamUnknownError.html +2 -2
- data/docs/Fox/FXStringDict.html +2 -2
- data/docs/Fox/FXSwitcher.html +2 -2
- data/docs/Fox/FXTGAIcon.html +2 -2
- data/docs/Fox/FXTGAImage.html +2 -2
- data/docs/Fox/FXTIFIcon.html +2 -2
- data/docs/Fox/FXTIFImage.html +2 -2
- data/docs/Fox/FXTabBar.html +2 -2
- data/docs/Fox/FXTabBook.html +2 -2
- data/docs/Fox/FXTabItem.html +2 -2
- data/docs/Fox/FXTable.html +2 -2
- data/docs/Fox/FXTableItem.html +2 -2
- data/docs/Fox/FXTablePos.html +2 -2
- data/docs/Fox/FXTableRange.html +2 -2
- data/docs/Fox/FXText.html +2 -2
- data/docs/Fox/FXTextChange.html +2 -2
- data/docs/Fox/FXTextField.html +2 -2
- data/docs/Fox/FXToggleButton.html +2 -2
- data/docs/Fox/FXToolBar.html +2 -2
- data/docs/Fox/FXToolBarGrip.html +2 -2
- data/docs/Fox/FXToolBarShell.html +2 -2
- data/docs/Fox/FXToolBarTab.html +2 -2
- data/docs/Fox/FXToolTip.html +2 -2
- data/docs/Fox/FXTopWindow.html +2 -2
- data/docs/Fox/FXTranslator.html +2 -2
- data/docs/Fox/FXTreeItem.html +2 -2
- data/docs/Fox/FXTreeList.html +2 -2
- data/docs/Fox/FXTreeListBox.html +2 -2
- data/docs/Fox/FXTriStateButton.html +2 -2
- data/docs/Fox/FXUndoList.html +2 -2
- data/docs/Fox/FXVec2d.html +2 -2
- data/docs/Fox/FXVec2f.html +2 -2
- data/docs/Fox/FXVec3d.html +2 -2
- data/docs/Fox/FXVec3f.html +2 -2
- data/docs/Fox/FXVec4d.html +2 -2
- data/docs/Fox/FXVec4f.html +2 -2
- data/docs/Fox/FXVerticalFrame.html +2 -2
- data/docs/Fox/FXVerticalSeparator.html +2 -2
- data/docs/Fox/FXViewport.html +2 -2
- data/docs/Fox/FXVisual.html +2 -2
- data/docs/Fox/FXWindow.html +2 -2
- data/docs/Fox/FXWizard.html +2 -2
- data/docs/Fox/FXXBMIcon.html +2 -2
- data/docs/Fox/FXXBMImage.html +2 -2
- data/docs/Fox/FXXPMIcon.html +2 -2
- data/docs/Fox/FXXPMImage.html +2 -2
- data/docs/Fox/NotifyHeader.html +2 -2
- data/docs/Fox/SCNotification.html +2 -2
- data/docs/Fox/TextRange.html +2 -2
- data/docs/Fox.html +3 -3
- data/docs/IRB.html +2 -2
- data/docs/Responder.html +2 -2
- data/docs/Responder2.html +2 -2
- data/docs/_index.html +2 -2
- data/docs/file.History.html +11 -2
- data/docs/file.README.html +2 -2
- data/docs/index.html +481 -501
- data/docs/top-level-namespace.html +2 -2
- data/examples/gltest.rb +104 -105
- data/examples/glviewer.rb +3 -3
- data/ext/fox16_c/extconf.rb +5 -5
- data/fxruby.gemspec +2 -2
- data/lib/fox16/glgroup.rb +3 -4
- data/lib/fox16/glshapes.rb +85 -100
- data/lib/fox16/version.rb +1 -1
- data/scripts/iface.rb +8 -12
- data.tar.gz.sig +0 -0
- metadata +28 -32
- metadata.gz.sig +0 -0
- data/rdoc-sources/Makefile +0 -23
data/docs/Fox/FXGIFCursor.html
CHANGED
@@ -327,9 +327,9 @@
|
|
327
327
|
</div>
|
328
328
|
|
329
329
|
<div id="footer">
|
330
|
-
Generated on
|
330
|
+
Generated on Sun May 14 21:55:44 2023 by
|
331
331
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
332
|
-
0.9.
|
332
|
+
0.9.34 (ruby-3.2.0).
|
333
333
|
</div>
|
334
334
|
|
335
335
|
</div>
|
data/docs/Fox/FXGIFIcon.html
CHANGED
@@ -440,9 +440,9 @@
|
|
440
440
|
</div>
|
441
441
|
|
442
442
|
<div id="footer">
|
443
|
-
Generated on
|
443
|
+
Generated on Sun May 14 21:55:28 2023 by
|
444
444
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
445
|
-
0.9.
|
445
|
+
0.9.34 (ruby-3.2.0).
|
446
446
|
</div>
|
447
447
|
|
448
448
|
</div>
|
data/docs/Fox/FXGIFImage.html
CHANGED
@@ -424,9 +424,9 @@
|
|
424
424
|
</div>
|
425
425
|
|
426
426
|
<div id="footer">
|
427
|
-
Generated on
|
427
|
+
Generated on Sun May 14 21:55:36 2023 by
|
428
428
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
429
|
-
0.9.
|
429
|
+
0.9.34 (ruby-3.2.0).
|
430
430
|
</div>
|
431
431
|
|
432
432
|
</div>
|
data/docs/Fox/FXGLCanvas.html
CHANGED
@@ -690,9 +690,9 @@
|
|
690
690
|
</div>
|
691
691
|
|
692
692
|
<div id="footer">
|
693
|
-
Generated on
|
693
|
+
Generated on Sun May 14 21:55:36 2023 by
|
694
694
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
695
|
-
0.9.
|
695
|
+
0.9.34 (ruby-3.2.0).
|
696
696
|
</div>
|
697
697
|
|
698
698
|
</div>
|
data/docs/Fox/FXGLCone.html
CHANGED
@@ -93,11 +93,6 @@
|
|
93
93
|
|
94
94
|
|
95
95
|
|
96
|
-
<dl>
|
97
|
-
<dt>Includes:</dt>
|
98
|
-
<dd>GLU, OpenGL</dd>
|
99
|
-
</dl>
|
100
|
-
|
101
96
|
|
102
97
|
|
103
98
|
|
@@ -380,8 +375,6 @@
|
|
380
375
|
|
381
376
|
|
382
377
|
|
383
|
-
|
384
|
-
|
385
378
|
<h3 class="inherited">Methods inherited from <span class='object_link'><a href="FXGLShape.html" title="Fox::FXGLShape (class)">FXGLShape</a></span></h3>
|
386
379
|
<p class="inherited"><span class='object_link'><a href="FXGLShape.html#getMaterial-instance_method" title="Fox::FXGLShape#getMaterial (method)">#getMaterial</a></span>, <span class='object_link'><a href="FXGLShape.html#setMaterial-instance_method" title="Fox::FXGLShape#setMaterial (method)">#setMaterial</a></span>, <span class='object_link'><a href="FXGLShape.html#setRange-instance_method" title="Fox::FXGLShape#setRange (method)">#setRange</a></span></p>
|
387
380
|
|
@@ -449,23 +442,23 @@
|
|
449
442
|
<pre class="lines">
|
450
443
|
|
451
444
|
|
445
|
+
291
|
446
|
+
292
|
447
|
+
293
|
448
|
+
294
|
449
|
+
295
|
450
|
+
296
|
451
|
+
297
|
452
|
+
298
|
453
|
+
299
|
452
454
|
300
|
453
455
|
301
|
454
456
|
302
|
455
457
|
303
|
456
|
-
304
|
457
|
-
305
|
458
|
-
306
|
459
|
-
307
|
460
|
-
308
|
461
|
-
309
|
462
|
-
310
|
463
|
-
311
|
464
|
-
312
|
465
|
-
313</pre>
|
458
|
+
304</pre>
|
466
459
|
</td>
|
467
460
|
<td>
|
468
|
-
<pre class="code"><span class="info file"># File 'lib/fox16/glshapes.rb', line
|
461
|
+
<pre class="code"><span class="info file"># File 'lib/fox16/glshapes.rb', line 291</span>
|
469
462
|
|
470
463
|
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='op'>*</span><span class='id identifier rubyid_args'>args</span><span class='rparen'>)</span>
|
471
464
|
<span class='kw'>if</span> <span class='id identifier rubyid_args'>args</span><span class='period'>.</span><span class='id identifier rubyid_length'>length</span> <span class='op'>==</span> <span class='int'>5</span>
|
@@ -519,12 +512,12 @@
|
|
519
512
|
<pre class="lines">
|
520
513
|
|
521
514
|
|
522
|
-
|
523
|
-
|
524
|
-
|
515
|
+
260
|
516
|
+
261
|
517
|
+
262</pre>
|
525
518
|
</td>
|
526
519
|
<td>
|
527
|
-
<pre class="code"><span class="info file"># File 'lib/fox16/glshapes.rb', line
|
520
|
+
<pre class="code"><span class="info file"># File 'lib/fox16/glshapes.rb', line 260</span>
|
528
521
|
|
529
522
|
<span class='kw'>def</span> <span class='id identifier rubyid_height'>height</span>
|
530
523
|
<span class='ivar'>@height</span>
|
@@ -562,12 +555,12 @@
|
|
562
555
|
<pre class="lines">
|
563
556
|
|
564
557
|
|
565
|
-
|
566
|
-
|
567
|
-
|
558
|
+
272
|
559
|
+
273
|
560
|
+
274</pre>
|
568
561
|
</td>
|
569
562
|
<td>
|
570
|
-
<pre class="code"><span class="info file"># File 'lib/fox16/glshapes.rb', line
|
563
|
+
<pre class="code"><span class="info file"># File 'lib/fox16/glshapes.rb', line 272</span>
|
571
564
|
|
572
565
|
<span class='kw'>def</span> <span class='id identifier rubyid_loops'>loops</span>
|
573
566
|
<span class='ivar'>@loops</span>
|
@@ -605,12 +598,12 @@
|
|
605
598
|
<pre class="lines">
|
606
599
|
|
607
600
|
|
608
|
-
|
609
|
-
|
610
|
-
|
601
|
+
263
|
602
|
+
264
|
603
|
+
265</pre>
|
611
604
|
</td>
|
612
605
|
<td>
|
613
|
-
<pre class="code"><span class="info file"># File 'lib/fox16/glshapes.rb', line
|
606
|
+
<pre class="code"><span class="info file"># File 'lib/fox16/glshapes.rb', line 263</span>
|
614
607
|
|
615
608
|
<span class='kw'>def</span> <span class='id identifier rubyid_radius'>radius</span>
|
616
609
|
<span class='ivar'>@radius</span>
|
@@ -648,12 +641,12 @@
|
|
648
641
|
<pre class="lines">
|
649
642
|
|
650
643
|
|
651
|
-
|
652
|
-
|
653
|
-
|
644
|
+
266
|
645
|
+
267
|
646
|
+
268</pre>
|
654
647
|
</td>
|
655
648
|
<td>
|
656
|
-
<pre class="code"><span class="info file"># File 'lib/fox16/glshapes.rb', line
|
649
|
+
<pre class="code"><span class="info file"># File 'lib/fox16/glshapes.rb', line 266</span>
|
657
650
|
|
658
651
|
<span class='kw'>def</span> <span class='id identifier rubyid_slices'>slices</span>
|
659
652
|
<span class='ivar'>@slices</span>
|
@@ -691,12 +684,12 @@
|
|
691
684
|
<pre class="lines">
|
692
685
|
|
693
686
|
|
694
|
-
|
695
|
-
|
696
|
-
|
687
|
+
269
|
688
|
+
270
|
689
|
+
271</pre>
|
697
690
|
</td>
|
698
691
|
<td>
|
699
|
-
<pre class="code"><span class="info file"># File 'lib/fox16/glshapes.rb', line
|
692
|
+
<pre class="code"><span class="info file"># File 'lib/fox16/glshapes.rb', line 269</span>
|
700
693
|
|
701
694
|
<span class='kw'>def</span> <span class='id identifier rubyid_stacks'>stacks</span>
|
702
695
|
<span class='ivar'>@stacks</span>
|
@@ -739,31 +732,31 @@
|
|
739
732
|
<pre class="lines">
|
740
733
|
|
741
734
|
|
735
|
+
309
|
736
|
+
310
|
737
|
+
311
|
738
|
+
312
|
739
|
+
313
|
740
|
+
314
|
741
|
+
315
|
742
|
+
316
|
743
|
+
317
|
742
744
|
318
|
743
|
-
319
|
744
|
-
320
|
745
|
-
321
|
746
|
-
322
|
747
|
-
323
|
748
|
-
324
|
749
|
-
325
|
750
|
-
326
|
751
|
-
327
|
752
|
-
328</pre>
|
745
|
+
319</pre>
|
753
746
|
</td>
|
754
747
|
<td>
|
755
|
-
<pre class="code"><span class="info file"># File 'lib/fox16/glshapes.rb', line
|
748
|
+
<pre class="code"><span class="info file"># File 'lib/fox16/glshapes.rb', line 309</span>
|
756
749
|
|
757
750
|
<span class='kw'>def</span> <span class='id identifier rubyid_drawshape'>drawshape</span><span class='lparen'>(</span><span class='id identifier rubyid_viewer'>viewer</span><span class='rparen'>)</span>
|
758
|
-
<span class='id identifier rubyid_quad'>quad</span> <span class='op'>=</span> <span class='
|
759
|
-
<span class='
|
760
|
-
<span class='
|
761
|
-
<span class='
|
762
|
-
<span class='
|
763
|
-
<span class='
|
764
|
-
<span class='
|
765
|
-
<span class='
|
766
|
-
<span class='
|
751
|
+
<span class='id identifier rubyid_quad'>quad</span> <span class='op'>=</span> <span class='const'>GLU</span><span class='period'>.</span><span class='const'>NewQuadric</span><span class='lparen'>(</span><span class='rparen'>)</span>
|
752
|
+
<span class='const'>GLU</span><span class='period'>.</span><span class='const'>QuadricDrawStyle</span><span class='lparen'>(</span><span class='id identifier rubyid_quad'>quad</span><span class='comma'>,</span> <span class='const'>GLU</span><span class='op'>::</span><span class='const'>FILL</span><span class='rparen'>)</span>
|
753
|
+
<span class='const'>GL</span><span class='period'>.</span><span class='const'>PushMatrix</span><span class='lparen'>(</span><span class='rparen'>)</span>
|
754
|
+
<span class='const'>GL</span><span class='period'>.</span><span class='const'>Rotated</span><span class='lparen'>(</span><span class='op'>-</span><span class='int'>90</span><span class='comma'>,</span> <span class='int'>1</span><span class='comma'>,</span> <span class='int'>0</span><span class='comma'>,</span> <span class='int'>0</span><span class='rparen'>)</span>
|
755
|
+
<span class='const'>GLU</span><span class='period'>.</span><span class='const'>Cylinder</span><span class='lparen'>(</span><span class='id identifier rubyid_quad'>quad</span><span class='comma'>,</span> <span class='ivar'>@radius</span><span class='comma'>,</span> <span class='int'>0</span><span class='comma'>,</span> <span class='ivar'>@height</span><span class='comma'>,</span> <span class='ivar'>@slices</span><span class='comma'>,</span> <span class='ivar'>@stacks</span><span class='rparen'>)</span>
|
756
|
+
<span class='const'>GLU</span><span class='period'>.</span><span class='const'>QuadricOrientation</span><span class='lparen'>(</span><span class='id identifier rubyid_quad'>quad</span><span class='comma'>,</span> <span class='const'>GLU</span><span class='op'>::</span><span class='const'>INSIDE</span><span class='rparen'>)</span>
|
757
|
+
<span class='const'>GLU</span><span class='period'>.</span><span class='const'>Disk</span><span class='lparen'>(</span><span class='id identifier rubyid_quad'>quad</span><span class='comma'>,</span> <span class='int'>0</span><span class='comma'>,</span> <span class='ivar'>@radius</span><span class='comma'>,</span> <span class='ivar'>@slices</span><span class='comma'>,</span> <span class='ivar'>@loops</span><span class='rparen'>)</span>
|
758
|
+
<span class='const'>GLU</span><span class='period'>.</span><span class='const'>DeleteQuadric</span><span class='lparen'>(</span><span class='id identifier rubyid_quad'>quad</span><span class='rparen'>)</span>
|
759
|
+
<span class='const'>GL</span><span class='period'>.</span><span class='const'>PopMatrix</span><span class='lparen'>(</span><span class='rparen'>)</span>
|
767
760
|
<span class='kw'>end</span></pre>
|
768
761
|
</td>
|
769
762
|
</tr>
|
@@ -775,9 +768,9 @@
|
|
775
768
|
</div>
|
776
769
|
|
777
770
|
<div id="footer">
|
778
|
-
Generated on
|
771
|
+
Generated on Sun May 14 21:56:17 2023 by
|
779
772
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
780
|
-
0.9.
|
773
|
+
0.9.34 (ruby-3.2.0).
|
781
774
|
</div>
|
782
775
|
|
783
776
|
</div>
|
data/docs/Fox/FXGLContext.html
CHANGED
@@ -639,9 +639,9 @@
|
|
639
639
|
</div>
|
640
640
|
|
641
641
|
<div id="footer">
|
642
|
-
Generated on
|
642
|
+
Generated on Sun May 14 21:55:44 2023 by
|
643
643
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
644
|
-
0.9.
|
644
|
+
0.9.34 (ruby-3.2.0).
|
645
645
|
</div>
|
646
646
|
|
647
647
|
</div>
|
data/docs/Fox/FXGLCube.html
CHANGED
@@ -93,11 +93,6 @@
|
|
93
93
|
|
94
94
|
|
95
95
|
|
96
|
-
<dl>
|
97
|
-
<dt>Includes:</dt>
|
98
|
-
<dd>OpenGL</dd>
|
99
|
-
</dl>
|
100
|
-
|
101
96
|
|
102
97
|
|
103
98
|
|
@@ -289,7 +284,6 @@
|
|
289
284
|
|
290
285
|
|
291
286
|
|
292
|
-
|
293
287
|
<h3 class="inherited">Methods inherited from <span class='object_link'><a href="FXGLShape.html" title="Fox::FXGLShape (class)">FXGLShape</a></span></h3>
|
294
288
|
<p class="inherited"><span class='object_link'><a href="FXGLShape.html#getMaterial-instance_method" title="Fox::FXGLShape#getMaterial (method)">#getMaterial</a></span>, <span class='object_link'><a href="FXGLShape.html#setMaterial-instance_method" title="Fox::FXGLShape#setMaterial (method)">#setMaterial</a></span>, <span class='object_link'><a href="FXGLShape.html#setRange-instance_method" title="Fox::FXGLShape#setRange (method)">#setRange</a></span></p>
|
295
289
|
|
@@ -357,6 +351,12 @@
|
|
357
351
|
<pre class="lines">
|
358
352
|
|
359
353
|
|
354
|
+
171
|
355
|
+
172
|
356
|
+
173
|
357
|
+
174
|
358
|
+
175
|
359
|
+
176
|
360
360
|
177
|
361
361
|
178
|
362
362
|
179
|
@@ -364,16 +364,10 @@
|
|
364
364
|
181
|
365
365
|
182
|
366
366
|
183
|
367
|
-
184
|
368
|
-
185
|
369
|
-
186
|
370
|
-
187
|
371
|
-
188
|
372
|
-
189
|
373
|
-
190</pre>
|
367
|
+
184</pre>
|
374
368
|
</td>
|
375
369
|
<td>
|
376
|
-
<pre class="code"><span class="info file"># File 'lib/fox16/glshapes.rb', line
|
370
|
+
<pre class="code"><span class="info file"># File 'lib/fox16/glshapes.rb', line 171</span>
|
377
371
|
|
378
372
|
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='op'>*</span><span class='id identifier rubyid_args'>args</span><span class='rparen'>)</span>
|
379
373
|
<span class='kw'>if</span> <span class='id identifier rubyid_args'>args</span><span class='period'>.</span><span class='id identifier rubyid_length'>length</span> <span class='op'>==</span> <span class='int'>7</span>
|
@@ -427,12 +421,12 @@
|
|
427
421
|
<pre class="lines">
|
428
422
|
|
429
423
|
|
430
|
-
|
431
|
-
|
432
|
-
|
424
|
+
151
|
425
|
+
152
|
426
|
+
153</pre>
|
433
427
|
</td>
|
434
428
|
<td>
|
435
|
-
<pre class="code"><span class="info file"># File 'lib/fox16/glshapes.rb', line
|
429
|
+
<pre class="code"><span class="info file"># File 'lib/fox16/glshapes.rb', line 151</span>
|
436
430
|
|
437
431
|
<span class='kw'>def</span> <span class='id identifier rubyid_depth'>depth</span>
|
438
432
|
<span class='ivar'>@depth</span>
|
@@ -470,12 +464,12 @@
|
|
470
464
|
<pre class="lines">
|
471
465
|
|
472
466
|
|
473
|
-
|
474
|
-
|
475
|
-
|
467
|
+
148
|
468
|
+
149
|
469
|
+
150</pre>
|
476
470
|
</td>
|
477
471
|
<td>
|
478
|
-
<pre class="code"><span class="info file"># File 'lib/fox16/glshapes.rb', line
|
472
|
+
<pre class="code"><span class="info file"># File 'lib/fox16/glshapes.rb', line 148</span>
|
479
473
|
|
480
474
|
<span class='kw'>def</span> <span class='id identifier rubyid_height'>height</span>
|
481
475
|
<span class='ivar'>@height</span>
|
@@ -513,12 +507,12 @@
|
|
513
507
|
<pre class="lines">
|
514
508
|
|
515
509
|
|
516
|
-
|
517
|
-
|
518
|
-
|
510
|
+
145
|
511
|
+
146
|
512
|
+
147</pre>
|
519
513
|
</td>
|
520
514
|
<td>
|
521
|
-
<pre class="code"><span class="info file"># File 'lib/fox16/glshapes.rb', line
|
515
|
+
<pre class="code"><span class="info file"># File 'lib/fox16/glshapes.rb', line 145</span>
|
522
516
|
|
523
517
|
<span class='kw'>def</span> <span class='id identifier rubyid_width'>width</span>
|
524
518
|
<span class='ivar'>@width</span>
|
@@ -561,6 +555,12 @@
|
|
561
555
|
<pre class="lines">
|
562
556
|
|
563
557
|
|
558
|
+
189
|
559
|
+
190
|
560
|
+
191
|
561
|
+
192
|
562
|
+
193
|
563
|
+
194
|
564
564
|
195
|
565
565
|
196
|
566
566
|
197
|
@@ -613,16 +613,10 @@
|
|
613
613
|
244
|
614
614
|
245
|
615
615
|
246
|
616
|
-
247
|
617
|
-
248
|
618
|
-
249
|
619
|
-
250
|
620
|
-
251
|
621
|
-
252
|
622
|
-
253</pre>
|
616
|
+
247</pre>
|
623
617
|
</td>
|
624
618
|
<td>
|
625
|
-
<pre class="code"><span class="info file"># File 'lib/fox16/glshapes.rb', line
|
619
|
+
<pre class="code"><span class="info file"># File 'lib/fox16/glshapes.rb', line 189</span>
|
626
620
|
|
627
621
|
<span class='kw'>def</span> <span class='id identifier rubyid_drawshape'>drawshape</span><span class='lparen'>(</span><span class='id identifier rubyid_viewer'>viewer</span><span class='rparen'>)</span>
|
628
622
|
<span class='id identifier rubyid_xmin'>xmin</span><span class='comma'>,</span> <span class='id identifier rubyid_xmax'>xmax</span> <span class='op'>=</span> <span class='op'>-</span><span class='float'>0.5</span><span class='op'>*</span><span class='ivar'>@width</span><span class='comma'>,</span> <span class='float'>0.5</span><span class='op'>*</span><span class='ivar'>@width</span>
|
@@ -630,58 +624,58 @@
|
|
630
624
|
<span class='id identifier rubyid_zmin'>zmin</span><span class='comma'>,</span> <span class='id identifier rubyid_zmax'>zmax</span> <span class='op'>=</span> <span class='op'>-</span><span class='float'>0.5</span><span class='op'>*</span><span class='ivar'>@depth</span><span class='comma'>,</span> <span class='float'>0.5</span><span class='op'>*</span><span class='ivar'>@depth</span>
|
631
625
|
|
632
626
|
<span class='comment'># Draw low face
|
633
|
-
</span> <span class='
|
634
|
-
<span class='
|
635
|
-
<span class='
|
636
|
-
<span class='
|
637
|
-
<span class='
|
638
|
-
<span class='
|
639
|
-
<span class='
|
627
|
+
</span> <span class='const'>GL</span><span class='period'>.</span><span class='const'>Begin</span><span class='lparen'>(</span><span class='const'>GL</span><span class='op'>::</span><span class='const'>TRIANGLE_STRIP</span><span class='rparen'>)</span>
|
628
|
+
<span class='const'>GL</span><span class='period'>.</span><span class='const'>Normal3d</span><span class='lparen'>(</span><span class='float'>0.0</span><span class='comma'>,</span> <span class='float'>0.0</span><span class='comma'>,</span> <span class='op'>-</span><span class='float'>1.0</span><span class='rparen'>)</span>
|
629
|
+
<span class='const'>GL</span><span class='period'>.</span><span class='const'>Vertex3d</span><span class='lparen'>(</span><span class='id identifier rubyid_xmin'>xmin</span><span class='comma'>,</span> <span class='id identifier rubyid_ymin'>ymin</span><span class='comma'>,</span> <span class='id identifier rubyid_zmin'>zmin</span><span class='rparen'>)</span>
|
630
|
+
<span class='const'>GL</span><span class='period'>.</span><span class='const'>Vertex3d</span><span class='lparen'>(</span><span class='id identifier rubyid_xmin'>xmin</span><span class='comma'>,</span> <span class='id identifier rubyid_ymax'>ymax</span><span class='comma'>,</span> <span class='id identifier rubyid_zmin'>zmin</span><span class='rparen'>)</span>
|
631
|
+
<span class='const'>GL</span><span class='period'>.</span><span class='const'>Vertex3d</span><span class='lparen'>(</span><span class='id identifier rubyid_xmax'>xmax</span><span class='comma'>,</span> <span class='id identifier rubyid_ymin'>ymin</span><span class='comma'>,</span> <span class='id identifier rubyid_zmin'>zmin</span><span class='rparen'>)</span>
|
632
|
+
<span class='const'>GL</span><span class='period'>.</span><span class='const'>Vertex3d</span><span class='lparen'>(</span><span class='id identifier rubyid_xmax'>xmax</span><span class='comma'>,</span> <span class='id identifier rubyid_ymax'>ymax</span><span class='comma'>,</span> <span class='id identifier rubyid_zmin'>zmin</span><span class='rparen'>)</span>
|
633
|
+
<span class='const'>GL</span><span class='period'>.</span><span class='const'>End</span><span class='lparen'>(</span><span class='rparen'>)</span>
|
640
634
|
|
641
635
|
<span class='comment'># Draw east face
|
642
|
-
</span> <span class='
|
643
|
-
<span class='
|
644
|
-
<span class='
|
645
|
-
<span class='
|
646
|
-
<span class='
|
647
|
-
<span class='
|
648
|
-
<span class='
|
636
|
+
</span> <span class='const'>GL</span><span class='period'>.</span><span class='const'>Begin</span><span class='lparen'>(</span><span class='const'>GL</span><span class='op'>::</span><span class='const'>TRIANGLE_STRIP</span><span class='rparen'>)</span>
|
637
|
+
<span class='const'>GL</span><span class='period'>.</span><span class='const'>Normal3d</span><span class='lparen'>(</span><span class='float'>1.0</span><span class='comma'>,</span> <span class='float'>0.0</span><span class='comma'>,</span> <span class='float'>0.0</span><span class='rparen'>)</span>
|
638
|
+
<span class='const'>GL</span><span class='period'>.</span><span class='const'>Vertex3d</span><span class='lparen'>(</span><span class='id identifier rubyid_xmax'>xmax</span><span class='comma'>,</span> <span class='id identifier rubyid_ymin'>ymin</span><span class='comma'>,</span> <span class='id identifier rubyid_zmin'>zmin</span><span class='rparen'>)</span>
|
639
|
+
<span class='const'>GL</span><span class='period'>.</span><span class='const'>Vertex3d</span><span class='lparen'>(</span><span class='id identifier rubyid_xmax'>xmax</span><span class='comma'>,</span> <span class='id identifier rubyid_ymax'>ymax</span><span class='comma'>,</span> <span class='id identifier rubyid_zmin'>zmin</span><span class='rparen'>)</span>
|
640
|
+
<span class='const'>GL</span><span class='period'>.</span><span class='const'>Vertex3d</span><span class='lparen'>(</span><span class='id identifier rubyid_xmax'>xmax</span><span class='comma'>,</span> <span class='id identifier rubyid_ymin'>ymin</span><span class='comma'>,</span> <span class='id identifier rubyid_zmax'>zmax</span><span class='rparen'>)</span>
|
641
|
+
<span class='const'>GL</span><span class='period'>.</span><span class='const'>Vertex3d</span><span class='lparen'>(</span><span class='id identifier rubyid_xmax'>xmax</span><span class='comma'>,</span> <span class='id identifier rubyid_ymax'>ymax</span><span class='comma'>,</span> <span class='id identifier rubyid_zmax'>zmax</span><span class='rparen'>)</span>
|
642
|
+
<span class='const'>GL</span><span class='period'>.</span><span class='const'>End</span><span class='lparen'>(</span><span class='rparen'>)</span>
|
649
643
|
|
650
644
|
<span class='comment'># Draw high face
|
651
|
-
</span> <span class='
|
652
|
-
<span class='
|
653
|
-
<span class='
|
654
|
-
<span class='
|
655
|
-
<span class='
|
656
|
-
<span class='
|
657
|
-
<span class='
|
645
|
+
</span> <span class='const'>GL</span><span class='period'>.</span><span class='const'>Begin</span><span class='lparen'>(</span><span class='const'>GL</span><span class='op'>::</span><span class='const'>TRIANGLE_STRIP</span><span class='rparen'>)</span>
|
646
|
+
<span class='const'>GL</span><span class='period'>.</span><span class='const'>Normal3d</span><span class='lparen'>(</span><span class='float'>0.0</span><span class='comma'>,</span> <span class='float'>0.0</span><span class='comma'>,</span> <span class='float'>1.0</span><span class='rparen'>)</span>
|
647
|
+
<span class='const'>GL</span><span class='period'>.</span><span class='const'>Vertex3d</span><span class='lparen'>(</span><span class='id identifier rubyid_xmax'>xmax</span><span class='comma'>,</span> <span class='id identifier rubyid_ymin'>ymin</span><span class='comma'>,</span> <span class='id identifier rubyid_zmax'>zmax</span><span class='rparen'>)</span>
|
648
|
+
<span class='const'>GL</span><span class='period'>.</span><span class='const'>Vertex3d</span><span class='lparen'>(</span><span class='id identifier rubyid_xmax'>xmax</span><span class='comma'>,</span> <span class='id identifier rubyid_ymax'>ymax</span><span class='comma'>,</span> <span class='id identifier rubyid_zmax'>zmax</span><span class='rparen'>)</span>
|
649
|
+
<span class='const'>GL</span><span class='period'>.</span><span class='const'>Vertex3d</span><span class='lparen'>(</span><span class='id identifier rubyid_xmin'>xmin</span><span class='comma'>,</span> <span class='id identifier rubyid_ymin'>ymin</span><span class='comma'>,</span> <span class='id identifier rubyid_zmax'>zmax</span><span class='rparen'>)</span>
|
650
|
+
<span class='const'>GL</span><span class='period'>.</span><span class='const'>Vertex3d</span><span class='lparen'>(</span><span class='id identifier rubyid_xmin'>xmin</span><span class='comma'>,</span> <span class='id identifier rubyid_ymax'>ymax</span><span class='comma'>,</span> <span class='id identifier rubyid_zmax'>zmax</span><span class='rparen'>)</span>
|
651
|
+
<span class='const'>GL</span><span class='period'>.</span><span class='const'>End</span><span class='lparen'>(</span><span class='rparen'>)</span>
|
658
652
|
|
659
653
|
<span class='comment'># Draw west face
|
660
|
-
</span> <span class='
|
661
|
-
<span class='
|
662
|
-
<span class='
|
663
|
-
<span class='
|
664
|
-
<span class='
|
665
|
-
<span class='
|
666
|
-
<span class='
|
654
|
+
</span> <span class='const'>GL</span><span class='period'>.</span><span class='const'>Begin</span><span class='lparen'>(</span><span class='const'>GL</span><span class='op'>::</span><span class='const'>TRIANGLE_STRIP</span><span class='rparen'>)</span>
|
655
|
+
<span class='const'>GL</span><span class='period'>.</span><span class='const'>Normal3d</span><span class='lparen'>(</span><span class='op'>-</span><span class='float'>1.0</span><span class='comma'>,</span> <span class='float'>0.0</span><span class='comma'>,</span> <span class='float'>0.0</span><span class='rparen'>)</span>
|
656
|
+
<span class='const'>GL</span><span class='period'>.</span><span class='const'>Vertex3d</span><span class='lparen'>(</span><span class='id identifier rubyid_xmin'>xmin</span><span class='comma'>,</span> <span class='id identifier rubyid_ymin'>ymin</span><span class='comma'>,</span> <span class='id identifier rubyid_zmax'>zmax</span><span class='rparen'>)</span>
|
657
|
+
<span class='const'>GL</span><span class='period'>.</span><span class='const'>Vertex3d</span><span class='lparen'>(</span><span class='id identifier rubyid_xmin'>xmin</span><span class='comma'>,</span> <span class='id identifier rubyid_ymax'>ymax</span><span class='comma'>,</span> <span class='id identifier rubyid_zmax'>zmax</span><span class='rparen'>)</span>
|
658
|
+
<span class='const'>GL</span><span class='period'>.</span><span class='const'>Vertex3d</span><span class='lparen'>(</span><span class='id identifier rubyid_xmin'>xmin</span><span class='comma'>,</span> <span class='id identifier rubyid_ymin'>ymin</span><span class='comma'>,</span> <span class='id identifier rubyid_zmin'>zmin</span><span class='rparen'>)</span>
|
659
|
+
<span class='const'>GL</span><span class='period'>.</span><span class='const'>Vertex3d</span><span class='lparen'>(</span><span class='id identifier rubyid_xmin'>xmin</span><span class='comma'>,</span> <span class='id identifier rubyid_ymax'>ymax</span><span class='comma'>,</span> <span class='id identifier rubyid_zmin'>zmin</span><span class='rparen'>)</span>
|
660
|
+
<span class='const'>GL</span><span class='period'>.</span><span class='const'>End</span><span class='lparen'>(</span><span class='rparen'>)</span>
|
667
661
|
|
668
662
|
<span class='comment'># Draw north face
|
669
|
-
</span> <span class='
|
670
|
-
<span class='
|
671
|
-
<span class='
|
672
|
-
<span class='
|
673
|
-
<span class='
|
674
|
-
<span class='
|
675
|
-
<span class='
|
663
|
+
</span> <span class='const'>GL</span><span class='period'>.</span><span class='const'>Begin</span><span class='lparen'>(</span><span class='const'>GL</span><span class='op'>::</span><span class='const'>TRIANGLE_STRIP</span><span class='rparen'>)</span>
|
664
|
+
<span class='const'>GL</span><span class='period'>.</span><span class='const'>Normal3d</span><span class='lparen'>(</span><span class='float'>0.0</span><span class='comma'>,</span> <span class='float'>1.0</span><span class='comma'>,</span> <span class='float'>0.0</span><span class='rparen'>)</span>
|
665
|
+
<span class='const'>GL</span><span class='period'>.</span><span class='const'>Vertex3d</span><span class='lparen'>(</span><span class='id identifier rubyid_xmin'>xmin</span><span class='comma'>,</span> <span class='id identifier rubyid_ymax'>ymax</span><span class='comma'>,</span> <span class='id identifier rubyid_zmin'>zmin</span><span class='rparen'>)</span>
|
666
|
+
<span class='const'>GL</span><span class='period'>.</span><span class='const'>Vertex3d</span><span class='lparen'>(</span><span class='id identifier rubyid_xmin'>xmin</span><span class='comma'>,</span> <span class='id identifier rubyid_ymax'>ymax</span><span class='comma'>,</span> <span class='id identifier rubyid_zmax'>zmax</span><span class='rparen'>)</span>
|
667
|
+
<span class='const'>GL</span><span class='period'>.</span><span class='const'>Vertex3d</span><span class='lparen'>(</span><span class='id identifier rubyid_xmax'>xmax</span><span class='comma'>,</span> <span class='id identifier rubyid_ymax'>ymax</span><span class='comma'>,</span> <span class='id identifier rubyid_zmin'>zmin</span><span class='rparen'>)</span>
|
668
|
+
<span class='const'>GL</span><span class='period'>.</span><span class='const'>Vertex3d</span><span class='lparen'>(</span><span class='id identifier rubyid_xmax'>xmax</span><span class='comma'>,</span> <span class='id identifier rubyid_ymax'>ymax</span><span class='comma'>,</span> <span class='id identifier rubyid_zmax'>zmax</span><span class='rparen'>)</span>
|
669
|
+
<span class='const'>GL</span><span class='period'>.</span><span class='const'>End</span><span class='lparen'>(</span><span class='rparen'>)</span>
|
676
670
|
|
677
671
|
<span class='comment'># Draw south face
|
678
|
-
</span> <span class='
|
679
|
-
<span class='
|
680
|
-
<span class='
|
681
|
-
<span class='
|
682
|
-
<span class='
|
683
|
-
<span class='
|
684
|
-
<span class='
|
672
|
+
</span> <span class='const'>GL</span><span class='period'>.</span><span class='const'>Begin</span><span class='lparen'>(</span><span class='const'>GL</span><span class='op'>::</span><span class='const'>TRIANGLE_STRIP</span><span class='rparen'>)</span>
|
673
|
+
<span class='const'>GL</span><span class='period'>.</span><span class='const'>Normal3d</span><span class='lparen'>(</span><span class='float'>0.0</span><span class='comma'>,</span> <span class='op'>-</span><span class='float'>1.0</span><span class='comma'>,</span> <span class='float'>0.0</span><span class='rparen'>)</span>
|
674
|
+
<span class='const'>GL</span><span class='period'>.</span><span class='const'>Vertex3d</span><span class='lparen'>(</span><span class='id identifier rubyid_xmin'>xmin</span><span class='comma'>,</span> <span class='id identifier rubyid_ymin'>ymin</span><span class='comma'>,</span> <span class='id identifier rubyid_zmax'>zmax</span><span class='rparen'>)</span>
|
675
|
+
<span class='const'>GL</span><span class='period'>.</span><span class='const'>Vertex3d</span><span class='lparen'>(</span><span class='id identifier rubyid_xmin'>xmin</span><span class='comma'>,</span> <span class='id identifier rubyid_ymin'>ymin</span><span class='comma'>,</span> <span class='id identifier rubyid_zmin'>zmin</span><span class='rparen'>)</span>
|
676
|
+
<span class='const'>GL</span><span class='period'>.</span><span class='const'>Vertex3d</span><span class='lparen'>(</span><span class='id identifier rubyid_xmax'>xmax</span><span class='comma'>,</span> <span class='id identifier rubyid_ymin'>ymin</span><span class='comma'>,</span> <span class='id identifier rubyid_zmax'>zmax</span><span class='rparen'>)</span>
|
677
|
+
<span class='const'>GL</span><span class='period'>.</span><span class='const'>Vertex3d</span><span class='lparen'>(</span><span class='id identifier rubyid_xmax'>xmax</span><span class='comma'>,</span> <span class='id identifier rubyid_ymin'>ymin</span><span class='comma'>,</span> <span class='id identifier rubyid_zmin'>zmin</span><span class='rparen'>)</span>
|
678
|
+
<span class='const'>GL</span><span class='period'>.</span><span class='const'>End</span><span class='lparen'>(</span><span class='rparen'>)</span>
|
685
679
|
<span class='kw'>end</span></pre>
|
686
680
|
</td>
|
687
681
|
</tr>
|
@@ -693,9 +687,9 @@
|
|
693
687
|
</div>
|
694
688
|
|
695
689
|
<div id="footer">
|
696
|
-
Generated on
|
690
|
+
Generated on Sun May 14 21:56:17 2023 by
|
697
691
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
698
|
-
0.9.
|
692
|
+
0.9.34 (ruby-3.2.0).
|
699
693
|
</div>
|
700
694
|
|
701
695
|
</div>
|