fxruby 1.6.41-x86-mingw32 → 1.6.45-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (377) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +2 -2
  3. data/.yardopts +1 -1
  4. data/Gemfile +2 -3
  5. data/History.md +26 -0
  6. data/README.rdoc +10 -5
  7. data/Rakefile +16 -5
  8. data/appveyor.yml +8 -7
  9. data/docs/Fox/Canvas/CanvasError.html +124 -0
  10. data/docs/Fox/Canvas/CircleShape.html +477 -0
  11. data/docs/Fox/Canvas/ImageShape.html +477 -0
  12. data/docs/Fox/Canvas/LineShape.html +1005 -0
  13. data/docs/Fox/Canvas/PolygonShape.html +145 -0
  14. data/docs/Fox/Canvas/RectangleShape.html +439 -0
  15. data/docs/Fox/Canvas/SelectionPolicy.html +352 -0
  16. data/docs/Fox/Canvas/Shape.html +1955 -0
  17. data/docs/Fox/Canvas/ShapeCanvas.html +2031 -0
  18. data/docs/Fox/Canvas/ShapeGroup.html +527 -0
  19. data/docs/Fox/Canvas/SingleSelectionPolicy.html +291 -0
  20. data/docs/Fox/Canvas/TextShape.html +609 -0
  21. data/docs/Fox/Canvas.html +141 -0
  22. data/docs/Fox/FTNonModal.html +550 -0
  23. data/docs/Fox/FX4Splitter.html +1336 -0
  24. data/docs/Fox/FX7Segment.html +1010 -0
  25. data/docs/Fox/FXAccelTable.html +715 -0
  26. data/docs/Fox/FXApp.html +7998 -0
  27. data/docs/Fox/FXArc.html +562 -0
  28. data/docs/Fox/FXArrowButton.html +865 -0
  29. data/docs/Fox/FXBMPIcon.html +450 -0
  30. data/docs/Fox/FXBMPImage.html +434 -0
  31. data/docs/Fox/FXBitmap.html +1362 -0
  32. data/docs/Fox/FXBitmapFrame.html +595 -0
  33. data/docs/Fox/FXBitmapView.html +1451 -0
  34. data/docs/Fox/FXButton.html +534 -0
  35. data/docs/Fox/FXCURCursor.html +261 -0
  36. data/docs/Fox/FXCalendar.html +880 -0
  37. data/docs/Fox/FXCanvas.html +311 -0
  38. data/docs/Fox/FXCheckButton.html +949 -0
  39. data/docs/Fox/FXChoiceBox.html +472 -0
  40. data/docs/Fox/FXColor.html +1519 -0
  41. data/docs/Fox/FXColorBar.html +759 -0
  42. data/docs/Fox/FXColorDialog.html +591 -0
  43. data/docs/Fox/FXColorItem.html +323 -0
  44. data/docs/Fox/FXColorList.html +712 -0
  45. data/docs/Fox/FXColorRing.html +817 -0
  46. data/docs/Fox/FXColorSelector.html +796 -0
  47. data/docs/Fox/FXColorWell.html +850 -0
  48. data/docs/Fox/FXColorWheel.html +770 -0
  49. data/docs/Fox/FXComboBox.html +2939 -0
  50. data/docs/Fox/FXComboTableItem.html +544 -0
  51. data/docs/Fox/FXCommand.html +526 -0
  52. data/docs/Fox/FXComposite.html +433 -0
  53. data/docs/Fox/FXCursor.html +779 -0
  54. data/docs/Fox/FXDC.html +5231 -0
  55. data/docs/Fox/FXDCPrint.html +696 -0
  56. data/docs/Fox/FXDCWindow.html +358 -0
  57. data/docs/Fox/FXDataTarget.html +573 -0
  58. data/docs/Fox/FXDebugTarget.html +305 -0
  59. data/docs/Fox/FXDelegator.html +305 -0
  60. data/docs/Fox/FXDial.html +1133 -0
  61. data/docs/Fox/FXDialogBox.html +413 -0
  62. data/docs/Fox/FXDict.html +1063 -0
  63. data/docs/Fox/FXDirBox.html +752 -0
  64. data/docs/Fox/FXDirDialog.html +914 -0
  65. data/docs/Fox/FXDirItem.html +989 -0
  66. data/docs/Fox/FXDirList.html +1554 -0
  67. data/docs/Fox/FXDirSelector.html +995 -0
  68. data/docs/Fox/FXDockBar.html +1451 -0
  69. data/docs/Fox/FXDockHandler.html +468 -0
  70. data/docs/Fox/FXDockSite.html +678 -0
  71. data/docs/Fox/FXDockTitle.html +606 -0
  72. data/docs/Fox/FXDocument.html +536 -0
  73. data/docs/Fox/FXDragCorner.html +440 -0
  74. data/docs/Fox/FXDrawable.html +478 -0
  75. data/docs/Fox/FXDriveBox.html +746 -0
  76. data/docs/Fox/FXEvent.html +1736 -0
  77. data/docs/Fox/FXExtentd.html +1374 -0
  78. data/docs/Fox/FXExtentf.html +1374 -0
  79. data/docs/Fox/FXFileAssoc.html +850 -0
  80. data/docs/Fox/FXFileDialog.html +2688 -0
  81. data/docs/Fox/FXFileDict.html +1058 -0
  82. data/docs/Fox/FXFileItem.html +1141 -0
  83. data/docs/Fox/FXFileList.html +2259 -0
  84. data/docs/Fox/FXFileSelector.html +2529 -0
  85. data/docs/Fox/FXFileStream.html +503 -0
  86. data/docs/Fox/FXFoldingItem.html +2822 -0
  87. data/docs/Fox/FXFoldingList.html +5189 -0
  88. data/docs/Fox/FXFont.html +2998 -0
  89. data/docs/Fox/FXFontDesc.html +710 -0
  90. data/docs/Fox/FXFontDialog.html +420 -0
  91. data/docs/Fox/FXFontSelector.html +576 -0
  92. data/docs/Fox/FXFrame.html +1012 -0
  93. data/docs/Fox/FXGIFCursor.html +337 -0
  94. data/docs/Fox/FXGIFIcon.html +450 -0
  95. data/docs/Fox/FXGIFImage.html +434 -0
  96. data/docs/Fox/FXGLCanvas.html +700 -0
  97. data/docs/Fox/FXGLCone.html +785 -0
  98. data/docs/Fox/FXGLContext.html +649 -0
  99. data/docs/Fox/FXGLCube.html +703 -0
  100. data/docs/Fox/FXGLCylinder.html +791 -0
  101. data/docs/Fox/FXGLGroup.html +1385 -0
  102. data/docs/Fox/FXGLLine.html +653 -0
  103. data/docs/Fox/FXGLObject.html +759 -0
  104. data/docs/Fox/FXGLPoint.html +561 -0
  105. data/docs/Fox/FXGLShape.html +714 -0
  106. data/docs/Fox/FXGLSphere.html +626 -0
  107. data/docs/Fox/FXGLViewer.html +3506 -0
  108. data/docs/Fox/FXGLVisual.html +2147 -0
  109. data/docs/Fox/FXGradient.html +562 -0
  110. data/docs/Fox/FXGradientBar.html +2479 -0
  111. data/docs/Fox/FXGroupBox.html +688 -0
  112. data/docs/Fox/FXHeader.html +3040 -0
  113. data/docs/Fox/FXHeaderItem.html +1353 -0
  114. data/docs/Fox/FXHiliteStyle.html +804 -0
  115. data/docs/Fox/FXHorizontalFrame.html +359 -0
  116. data/docs/Fox/FXHorizontalSeparator.html +349 -0
  117. data/docs/Fox/FXICOIcon.html +450 -0
  118. data/docs/Fox/FXICOImage.html +434 -0
  119. data/docs/Fox/FXIcon.html +384 -0
  120. data/docs/Fox/FXIconDict.html +752 -0
  121. data/docs/Fox/FXIconItem.html +1518 -0
  122. data/docs/Fox/FXIconList.html +4676 -0
  123. data/docs/Fox/FXIconSource.html +963 -0
  124. data/docs/Fox/FXId.html +712 -0
  125. data/docs/Fox/FXImage.html +2328 -0
  126. data/docs/Fox/FXImageFrame.html +489 -0
  127. data/docs/Fox/FXImageView.html +504 -0
  128. data/docs/Fox/FXInputDialog.html +894 -0
  129. data/docs/Fox/FXIrb.html +942 -0
  130. data/docs/Fox/FXJPGIcon.html +607 -0
  131. data/docs/Fox/FXJPGImage.html +591 -0
  132. data/docs/Fox/FXKnob.html +1048 -0
  133. data/docs/Fox/FXLabel.html +1013 -0
  134. data/docs/Fox/FXLight.html +920 -0
  135. data/docs/Fox/FXList.html +3717 -0
  136. data/docs/Fox/FXListBox.html +2518 -0
  137. data/docs/Fox/FXListItem.html +1459 -0
  138. data/docs/Fox/FXMDIChild.html +2175 -0
  139. data/docs/Fox/FXMDIClient.html +781 -0
  140. data/docs/Fox/FXMDIDeleteButton.html +334 -0
  141. data/docs/Fox/FXMDIMaximizeButton.html +334 -0
  142. data/docs/Fox/FXMDIMenu.html +335 -0
  143. data/docs/Fox/FXMDIMinimizeButton.html +334 -0
  144. data/docs/Fox/FXMDIRestoreButton.html +334 -0
  145. data/docs/Fox/FXMDIWindowButton.html +334 -0
  146. data/docs/Fox/FXMainWindow.html +337 -0
  147. data/docs/Fox/FXMaterial.html +570 -0
  148. data/docs/Fox/FXMatrix.html +734 -0
  149. data/docs/Fox/FXMemoryBuffer.html +472 -0
  150. data/docs/Fox/FXMemoryStream.html +632 -0
  151. data/docs/Fox/FXMenuBar.html +347 -0
  152. data/docs/Fox/FXMenuButton.html +829 -0
  153. data/docs/Fox/FXMenuCaption.html +1080 -0
  154. data/docs/Fox/FXMenuCascade.html +388 -0
  155. data/docs/Fox/FXMenuCheck.html +721 -0
  156. data/docs/Fox/FXMenuCommand.html +400 -0
  157. data/docs/Fox/FXMenuPane.html +333 -0
  158. data/docs/Fox/FXMenuRadio.html +721 -0
  159. data/docs/Fox/FXMenuSeparator.html +440 -0
  160. data/docs/Fox/FXMenuTitle.html +405 -0
  161. data/docs/Fox/FXMessageBox.html +658 -0
  162. data/docs/Fox/FXObject.html +545 -0
  163. data/docs/Fox/FXOption.html +491 -0
  164. data/docs/Fox/FXOptionMenu.html +885 -0
  165. data/docs/Fox/FXPCXIcon.html +450 -0
  166. data/docs/Fox/FXPCXImage.html +434 -0
  167. data/docs/Fox/FXPNGIcon.html +524 -0
  168. data/docs/Fox/FXPNGImage.html +508 -0
  169. data/docs/Fox/FXPPMIcon.html +450 -0
  170. data/docs/Fox/FXPPMImage.html +373 -0
  171. data/docs/Fox/FXPSBounds.html +500 -0
  172. data/docs/Fox/FXPacker.html +1229 -0
  173. data/docs/Fox/FXPicker.html +345 -0
  174. data/docs/Fox/FXPopup.html +1099 -0
  175. data/docs/Fox/FXPrintDialog.html +485 -0
  176. data/docs/Fox/FXPrinter.html +1330 -0
  177. data/docs/Fox/FXProgressBar.html +1150 -0
  178. data/docs/Fox/FXProgressDialog.html +715 -0
  179. data/docs/Fox/FXPseudoKeyboard.html +428 -0
  180. data/docs/Fox/FXPseudoMouse.html +800 -0
  181. data/docs/Fox/FXPseudoTarget.html +472 -0
  182. data/docs/Fox/FXQuatd.html +1377 -0
  183. data/docs/Fox/FXQuatf.html +1392 -0
  184. data/docs/Fox/FXRGBIcon.html +450 -0
  185. data/docs/Fox/FXRGBImage.html +434 -0
  186. data/docs/Fox/FXRadioButton.html +885 -0
  187. data/docs/Fox/FXRanged.html +1522 -0
  188. data/docs/Fox/FXRangef.html +1522 -0
  189. data/docs/Fox/FXRealSlider.html +1187 -0
  190. data/docs/Fox/FXRealSpinner.html +2175 -0
  191. data/docs/Fox/FXRecentFiles.html +841 -0
  192. data/docs/Fox/FXRectangle.html +802 -0
  193. data/docs/Fox/FXRegion.html +841 -0
  194. data/docs/Fox/FXRegistry.html +682 -0
  195. data/docs/Fox/FXReplaceDialog.html +648 -0
  196. data/docs/Fox/FXRootWindow.html +312 -0
  197. data/docs/Fox/FXRuler.html +2000 -0
  198. data/docs/Fox/FXRulerView.html +3997 -0
  199. data/docs/Fox/FXScintilla.html +49117 -0
  200. data/docs/Fox/FXScrollArea.html +1363 -0
  201. data/docs/Fox/FXScrollBar.html +1019 -0
  202. data/docs/Fox/FXScrollCorner.html +290 -0
  203. data/docs/Fox/FXScrollPane.html +499 -0
  204. data/docs/Fox/FXScrollWindow.html +409 -0
  205. data/docs/Fox/FXSearchDialog.html +382 -0
  206. data/docs/Fox/FXSegment.html +422 -0
  207. data/docs/Fox/FXSeparator.html +402 -0
  208. data/docs/Fox/FXSettings.html +1861 -0
  209. data/docs/Fox/FXShell.html +233 -0
  210. data/docs/Fox/FXShutter.html +472 -0
  211. data/docs/Fox/FXShutterItem.html +669 -0
  212. data/docs/Fox/FXSize.html +592 -0
  213. data/docs/Fox/FXSlider.html +1129 -0
  214. data/docs/Fox/FXSphered.html +906 -0
  215. data/docs/Fox/FXSpheref.html +906 -0
  216. data/docs/Fox/FXSpinner.html +2102 -0
  217. data/docs/Fox/FXSplashScreen.html +497 -0
  218. data/docs/Fox/FXSplashWindow.html +494 -0
  219. data/docs/Fox/FXSplitter.html +643 -0
  220. data/docs/Fox/FXSpring.html +517 -0
  221. data/docs/Fox/FXStatusBar.html +593 -0
  222. data/docs/Fox/FXStatusLine.html +754 -0
  223. data/docs/Fox/FXStream.html +1372 -0
  224. data/docs/Fox/FXStreamAllocError.html +148 -0
  225. data/docs/Fox/FXStreamEndError.html +148 -0
  226. data/docs/Fox/FXStreamError.html +259 -0
  227. data/docs/Fox/FXStreamFailureError.html +148 -0
  228. data/docs/Fox/FXStreamFormatError.html +148 -0
  229. data/docs/Fox/FXStreamFullError.html +148 -0
  230. data/docs/Fox/FXStreamNoReadError.html +148 -0
  231. data/docs/Fox/FXStreamNoWriteError.html +148 -0
  232. data/docs/Fox/FXStreamUnknownError.html +148 -0
  233. data/docs/Fox/FXStringDict.html +552 -0
  234. data/docs/Fox/FXSwitcher.html +619 -0
  235. data/docs/Fox/FXTGAIcon.html +450 -0
  236. data/docs/Fox/FXTGAImage.html +434 -0
  237. data/docs/Fox/FXTIFIcon.html +604 -0
  238. data/docs/Fox/FXTIFImage.html +588 -0
  239. data/docs/Fox/FXTabBar.html +644 -0
  240. data/docs/Fox/FXTabBook.html +373 -0
  241. data/docs/Fox/FXTabItem.html +478 -0
  242. data/docs/Fox/FXTable.html +10107 -0
  243. data/docs/Fox/FXTableItem.html +2195 -0
  244. data/docs/Fox/FXTablePos.html +360 -0
  245. data/docs/Fox/FXTableRange.html +360 -0
  246. data/docs/Fox/FXText.html +6870 -0
  247. data/docs/Fox/FXTextChange.html +492 -0
  248. data/docs/Fox/FXTextField.html +2016 -0
  249. data/docs/Fox/FXToggleButton.html +844 -0
  250. data/docs/Fox/FXToolBar.html +452 -0
  251. data/docs/Fox/FXToolBarGrip.html +584 -0
  252. data/docs/Fox/FXToolBarShell.html +788 -0
  253. data/docs/Fox/FXToolBarTab.html +729 -0
  254. data/docs/Fox/FXToolTip.html +761 -0
  255. data/docs/Fox/FXTopWindow.html +1716 -0
  256. data/docs/Fox/FXTranslator.html +481 -0
  257. data/docs/Fox/FXTreeItem.html +2813 -0
  258. data/docs/Fox/FXTreeList.html +5095 -0
  259. data/docs/Fox/FXTreeListBox.html +3080 -0
  260. data/docs/Fox/FXTriStateButton.html +681 -0
  261. data/docs/Fox/FXUndoList.html +2560 -0
  262. data/docs/Fox/FXVec2d.html +1450 -0
  263. data/docs/Fox/FXVec2f.html +1442 -0
  264. data/docs/Fox/FXVec3d.html +1649 -0
  265. data/docs/Fox/FXVec3f.html +1649 -0
  266. data/docs/Fox/FXVec4d.html +1858 -0
  267. data/docs/Fox/FXVec4f.html +1858 -0
  268. data/docs/Fox/FXVerticalFrame.html +359 -0
  269. data/docs/Fox/FXVerticalSeparator.html +349 -0
  270. data/docs/Fox/FXViewport.html +780 -0
  271. data/docs/Fox/FXVisual.html +1023 -0
  272. data/docs/Fox/FXWindow.html +9948 -0
  273. data/docs/Fox/FXWizard.html +1052 -0
  274. data/docs/Fox/FXXBMIcon.html +453 -0
  275. data/docs/Fox/FXXBMImage.html +437 -0
  276. data/docs/Fox/FXXPMIcon.html +450 -0
  277. data/docs/Fox/FXXPMImage.html +434 -0
  278. data/docs/Fox/NotifyHeader.html +286 -0
  279. data/docs/Fox/SCNotification.html +1438 -0
  280. data/docs/Fox/TextRange.html +281 -0
  281. data/docs/Fox.html +11184 -0
  282. data/docs/IRB.html +204 -0
  283. data/docs/Responder.html +693 -0
  284. data/docs/Responder2.html +225 -0
  285. data/docs/_index.html +2101 -0
  286. data/docs/class_list.html +51 -0
  287. data/docs/css/common.css +1 -0
  288. data/docs/css/full_list.css +58 -0
  289. data/docs/css/style.css +496 -0
  290. data/docs/file.History.html +869 -0
  291. data/docs/file.README.html +104 -0
  292. data/docs/file_list.html +66 -0
  293. data/docs/frames.html +17 -0
  294. data/docs/index.html +614 -0
  295. data/docs/js/app.js +314 -0
  296. data/docs/js/full_list.js +216 -0
  297. data/docs/js/jquery.js +4 -0
  298. data/docs/method_list.html +31043 -0
  299. data/docs/top-level-namespace.html +214 -0
  300. data/examples/canvasdemo.rb +5 -1
  301. data/examples/gltest.rb +162 -106
  302. data/examples/glviewer.rb +12 -8
  303. data/ext/fox16_c/core_wrap.cpp +117 -115
  304. data/ext/fox16_c/dc_wrap.cpp +82 -60
  305. data/ext/fox16_c/dialogs_wrap.cpp +87 -67
  306. data/ext/fox16_c/extconf.rb +12 -12
  307. data/ext/fox16_c/frames_wrap.cpp +101 -75
  308. data/ext/fox16_c/fx3d_wrap.cpp +258 -302
  309. data/ext/fox16_c/iconlist_wrap.cpp +70 -52
  310. data/ext/fox16_c/icons_wrap.cpp +75 -55
  311. data/ext/fox16_c/image_wrap.cpp +75 -57
  312. data/ext/fox16_c/label_wrap.cpp +78 -60
  313. data/ext/fox16_c/layout_wrap.cpp +83 -65
  314. data/ext/fox16_c/list_wrap.cpp +70 -52
  315. data/ext/fox16_c/mdi_wrap.cpp +76 -58
  316. data/ext/fox16_c/menu_wrap.cpp +78 -60
  317. data/ext/fox16_c/scintilla_wrap.cpp +85 -61
  318. data/ext/fox16_c/swigruby.h +64 -46
  319. data/ext/fox16_c/table_wrap.cpp +80 -58
  320. data/ext/fox16_c/text_wrap.cpp +75 -55
  321. data/ext/fox16_c/treelist_wrap.cpp +71 -53
  322. data/ext/fox16_c/ui_wrap.cpp +101 -81
  323. data/fxruby.gemspec +1 -1
  324. data/lib/2.4/fox16_c.so +0 -0
  325. data/lib/2.5/fox16_c.so +0 -0
  326. data/lib/2.6/fox16_c.so +0 -0
  327. data/lib/2.7/fox16_c.so +0 -0
  328. data/lib/3.0/fox16_c.so +0 -0
  329. data/lib/3.1/fox16_c.so +0 -0
  330. data/lib/fox16/aliases.rb +0 -0
  331. data/lib/fox16/bitmapview.rb +0 -0
  332. data/lib/fox16/calendar.rb +0 -0
  333. data/lib/fox16/canvas.rb +76 -45
  334. data/lib/fox16/chore.rb +0 -0
  335. data/lib/fox16/colors.rb +0 -0
  336. data/lib/fox16/core.rb +0 -0
  337. data/lib/fox16/dict.rb +0 -0
  338. data/lib/fox16/glgroup.rb +5 -5
  339. data/lib/fox16/glshapes.rb +111 -99
  340. data/lib/fox16/input.rb +0 -0
  341. data/lib/fox16/irb.rb +0 -0
  342. data/lib/fox16/iterators.rb +0 -0
  343. data/lib/fox16/keys.rb +0 -0
  344. data/lib/fox16/missingdep.rb +0 -0
  345. data/lib/fox16/pseudokeyboard.rb +0 -0
  346. data/lib/fox16/pseudomouse.rb +0 -0
  347. data/lib/fox16/responder.rb +0 -0
  348. data/lib/fox16/responder2.rb +0 -0
  349. data/lib/fox16/scintilla.rb +0 -0
  350. data/lib/fox16/settings.rb +0 -0
  351. data/lib/fox16/signal.rb +0 -0
  352. data/lib/fox16/timeout.rb +0 -0
  353. data/lib/fox16/tkcompat.rb +0 -0
  354. data/lib/fox16/undolist.rb +0 -0
  355. data/lib/fox16/version.rb +1 -1
  356. data/lib/fox16.rb +2 -4
  357. data/ports/x86-mingw32/bin/libFOX-1.6-0.dll +0 -0
  358. data/ports/x86-mingw32/bin/libfxscintilla-20.dll +0 -0
  359. data/ports/x86-mingw32/bin/libgcc_s_sjlj-1.dll +0 -0
  360. data/ports/x86-mingw32/bin/libjpeg-62.dll +0 -0
  361. data/ports/x86-mingw32/bin/libpng16-16.dll +0 -0
  362. data/ports/x86-mingw32/bin/libstdc++-6.dll +0 -0
  363. data/ports/x86-mingw32/bin/libtiff-5.dll +0 -0
  364. data/ports/x86-mingw32/bin/libwinpthread-1.dll +0 -0
  365. data/ports/x86-mingw32/bin/zlib1.dll +0 -0
  366. metadata +311 -20
  367. data/lib/2.2/fox16_c.so +0 -0
  368. data/lib/2.3/fox16_c.so +0 -0
  369. data/ports/i686-w64-mingw32/bin/libFOX-1.6-0.dll +0 -0
  370. data/ports/i686-w64-mingw32/bin/libfxscintilla-20.dll +0 -0
  371. data/ports/i686-w64-mingw32/bin/libgcc_s_sjlj-1.dll +0 -0
  372. data/ports/i686-w64-mingw32/bin/libjpeg-62.dll +0 -0
  373. data/ports/i686-w64-mingw32/bin/libpng16-16.dll +0 -0
  374. data/ports/i686-w64-mingw32/bin/libstdc++-6.dll +0 -0
  375. data/ports/i686-w64-mingw32/bin/libtiff-5.dll +0 -0
  376. data/ports/i686-w64-mingw32/bin/libwinpthread-1.dll +0 -0
  377. data/ports/i686-w64-mingw32/bin/zlib1.dll +0 -0
@@ -0,0 +1,1858 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>
7
+ Class: Fox::FXVec4f
8
+
9
+ &mdash; FXRuby API Documentation
10
+
11
+ </title>
12
+
13
+ <link rel="stylesheet" href="../css/style.css" type="text/css" />
14
+
15
+ <link rel="stylesheet" href="../css/common.css" type="text/css" />
16
+
17
+ <script type="text/javascript">
18
+ pathId = "Fox::FXVec4f";
19
+ relpath = '../';
20
+ </script>
21
+
22
+
23
+ <script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
24
+
25
+ <script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
26
+
27
+
28
+ </head>
29
+ <body>
30
+ <div class="nav_wrap">
31
+ <iframe id="nav" src="../class_list.html?1"></iframe>
32
+ <div id="resizer"></div>
33
+ </div>
34
+
35
+ <div id="main" tabindex="-1">
36
+ <div id="header">
37
+ <div id="menu">
38
+
39
+ <a href="../_index.html">Index (F)</a> &raquo;
40
+ <span class='title'><span class='object_link'><a href="../Fox.html" title="Fox (module)">Fox</a></span></span>
41
+ &raquo;
42
+ <span class="title">FXVec4f</span>
43
+
44
+ </div>
45
+
46
+ <div id="search">
47
+
48
+ <a class="full_list_link" id="class_list_link"
49
+ href="../class_list.html">
50
+
51
+ <svg width="24" height="24">
52
+ <rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
53
+ <rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
54
+ <rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
55
+ </svg>
56
+ </a>
57
+
58
+ </div>
59
+ <div class="clear"></div>
60
+ </div>
61
+
62
+ <div id="content"><h1>Class: Fox::FXVec4f
63
+
64
+
65
+
66
+ </h1>
67
+ <div class="box_info">
68
+
69
+ <dl>
70
+ <dt>Inherits:</dt>
71
+ <dd>
72
+ <span class="inheritName">Object</span>
73
+
74
+ <ul class="fullTree">
75
+ <li>Object</li>
76
+
77
+ <li class="next">Fox::FXVec4f</li>
78
+
79
+ </ul>
80
+ <a href="#" class="inheritanceTree">show all</a>
81
+
82
+ </dd>
83
+ </dl>
84
+
85
+
86
+
87
+
88
+
89
+
90
+
91
+
92
+
93
+
94
+
95
+ <dl>
96
+ <dt>Defined in:</dt>
97
+ <dd>rdoc-sources/FXVec4f.rb<span class="defines">,<br />
98
+ lib/fox16/core.rb</span>
99
+ </dd>
100
+ </dl>
101
+
102
+ </div>
103
+
104
+ <div id="subclasses">
105
+ <h2>Direct Known Subclasses</h2>
106
+ <p class="children"><span class='object_link'><a href="FXQuatf.html" title="Fox::FXQuatf (class)">FXQuatf</a></span></p>
107
+ </div>
108
+
109
+
110
+
111
+
112
+ <h2>Instance Attribute Summary <small><a href="#" class="summary_toggle">collapse</a></small></h2>
113
+ <ul class="summary">
114
+
115
+ <li class="public ">
116
+ <span class="summary_signature">
117
+
118
+ <a href="#w-instance_method" title="#w (instance method)">#<strong>w</strong> &#x21d2; Object </a>
119
+
120
+
121
+
122
+ </span>
123
+
124
+
125
+
126
+
127
+
128
+
129
+
130
+
131
+
132
+
133
+
134
+
135
+ <span class="summary_desc"><div class='inline'>
136
+ <p>Returns the value of attribute w.</p>
137
+ </div></span>
138
+
139
+ </li>
140
+
141
+
142
+ <li class="public ">
143
+ <span class="summary_signature">
144
+
145
+ <a href="#x-instance_method" title="#x (instance method)">#<strong>x</strong> &#x21d2; Object </a>
146
+
147
+
148
+
149
+ </span>
150
+
151
+
152
+
153
+
154
+
155
+
156
+
157
+
158
+
159
+
160
+
161
+
162
+ <span class="summary_desc"><div class='inline'>
163
+ <p>Returns the value of attribute x.</p>
164
+ </div></span>
165
+
166
+ </li>
167
+
168
+
169
+ <li class="public ">
170
+ <span class="summary_signature">
171
+
172
+ <a href="#y-instance_method" title="#y (instance method)">#<strong>y</strong> &#x21d2; Object </a>
173
+
174
+
175
+
176
+ </span>
177
+
178
+
179
+
180
+
181
+
182
+
183
+
184
+
185
+
186
+
187
+
188
+
189
+ <span class="summary_desc"><div class='inline'>
190
+ <p>Returns the value of attribute y.</p>
191
+ </div></span>
192
+
193
+ </li>
194
+
195
+
196
+ <li class="public ">
197
+ <span class="summary_signature">
198
+
199
+ <a href="#z-instance_method" title="#z (instance method)">#<strong>z</strong> &#x21d2; Object </a>
200
+
201
+
202
+
203
+ </span>
204
+
205
+
206
+
207
+
208
+
209
+
210
+
211
+
212
+
213
+
214
+
215
+
216
+ <span class="summary_desc"><div class='inline'>
217
+ <p>Returns the value of attribute z.</p>
218
+ </div></span>
219
+
220
+ </li>
221
+
222
+
223
+ </ul>
224
+
225
+
226
+
227
+
228
+
229
+ <h2>
230
+ Class Method Summary
231
+ <small><a href="#" class="summary_toggle">collapse</a></small>
232
+ </h2>
233
+
234
+ <ul class="summary">
235
+
236
+ <li class="public ">
237
+ <span class="summary_signature">
238
+
239
+ <a href="#plane-class_method" title="plane (class method)">.<strong>plane</strong>(a, b, c) &#x21d2; Object </a>
240
+
241
+
242
+
243
+ </span>
244
+
245
+
246
+
247
+
248
+
249
+
250
+
251
+
252
+
253
+ <span class="summary_desc"><div class='inline'>
254
+ <p>Compute normalized plane equation ax + by + cz + d = 0.</p>
255
+ </div></span>
256
+
257
+ </li>
258
+
259
+
260
+ </ul>
261
+
262
+ <h2>
263
+ Instance Method Summary
264
+ <small><a href="#" class="summary_toggle">collapse</a></small>
265
+ </h2>
266
+
267
+ <ul class="summary">
268
+
269
+ <li class="public ">
270
+ <span class="summary_signature">
271
+
272
+ <a href="#*-instance_method" title="#* (instance method)">#<strong>*</strong>(n) &#x21d2; Object </a>
273
+
274
+
275
+
276
+ </span>
277
+
278
+
279
+
280
+
281
+
282
+
283
+
284
+
285
+
286
+ <span class="summary_desc"><div class='inline'>
287
+ <p>Returns a new FXVec4f instance obtained by memberwise multiplication of this vector&#39;s elements by the scalar <em>n</em>.</p>
288
+ </div></span>
289
+
290
+ </li>
291
+
292
+
293
+ <li class="public ">
294
+ <span class="summary_signature">
295
+
296
+ <a href="#%2B-instance_method" title="#+ (instance method)">#<strong>+</strong>(other) &#x21d2; Object </a>
297
+
298
+
299
+
300
+ </span>
301
+
302
+
303
+
304
+
305
+
306
+
307
+
308
+
309
+
310
+ <span class="summary_desc"><div class='inline'>
311
+ <p>Returns a new FXVec4f instance obtained by memberwise addition of the <em>other</em> FXVec4f instance with this one.</p>
312
+ </div></span>
313
+
314
+ </li>
315
+
316
+
317
+ <li class="public ">
318
+ <span class="summary_signature">
319
+
320
+ <a href="#--instance_method" title="#- (instance method)">#<strong>-</strong>(other) &#x21d2; Object </a>
321
+
322
+
323
+
324
+ </span>
325
+
326
+
327
+
328
+
329
+
330
+
331
+
332
+
333
+
334
+ <span class="summary_desc"><div class='inline'>
335
+ <p>Returns a new FXVec4f instance obtained by memberwise subtraction of the <em>other</em> FXVec4f instance from this one.</p>
336
+ </div></span>
337
+
338
+ </li>
339
+
340
+
341
+ <li class="public ">
342
+ <span class="summary_signature">
343
+
344
+ <a href="#-@-instance_method" title="#-@ (instance method)">#<strong>-@</strong> &#x21d2; Object </a>
345
+
346
+
347
+
348
+ </span>
349
+
350
+
351
+
352
+
353
+
354
+
355
+
356
+
357
+
358
+ <span class="summary_desc"><div class='inline'>
359
+ <p>Returns a new FXVec4f instance which is the negation of this one.</p>
360
+ </div></span>
361
+
362
+ </li>
363
+
364
+
365
+ <li class="public ">
366
+ <span class="summary_signature">
367
+
368
+ <a href="#%2F-instance_method" title="#/ (instance method)">#<strong>/</strong>(n) &#x21d2; Object </a>
369
+
370
+
371
+
372
+ </span>
373
+
374
+
375
+
376
+
377
+
378
+
379
+
380
+
381
+
382
+ <span class="summary_desc"><div class='inline'>
383
+ <p>Returns a new FXVec4f instance obtained by memberwise division of this vector&#39;s elements by the scalar <em>n</em>.</p>
384
+ </div></span>
385
+
386
+ </li>
387
+
388
+
389
+ <li class="public ">
390
+ <span class="summary_signature">
391
+
392
+ <a href="#==-instance_method" title="#== (instance method)">#<strong>==</strong>(other) &#x21d2; Object </a>
393
+
394
+
395
+
396
+ </span>
397
+
398
+
399
+
400
+
401
+
402
+
403
+
404
+
405
+
406
+ <span class="summary_desc"><div class='inline'>
407
+ <p>Return <code>true</code> if this vector is equal to <em>other</em>.</p>
408
+ </div></span>
409
+
410
+ </li>
411
+
412
+
413
+ <li class="public ">
414
+ <span class="summary_signature">
415
+
416
+ <a href="#[]-instance_method" title="#[] (instance method)">#<strong>[]</strong>(index) &#x21d2; Object </a>
417
+
418
+
419
+
420
+ </span>
421
+
422
+
423
+
424
+
425
+
426
+
427
+
428
+
429
+
430
+ <span class="summary_desc"><div class='inline'>
431
+ <p>Returns the element at <em>index</em>, where <em>index</em> is 0, 1, 2 or 3.</p>
432
+ </div></span>
433
+
434
+ </li>
435
+
436
+
437
+ <li class="public ">
438
+ <span class="summary_signature">
439
+
440
+ <a href="#[]=-instance_method" title="#[]= (instance method)">#<strong>[]=</strong>(index, value) &#x21d2; Object </a>
441
+
442
+
443
+
444
+ </span>
445
+
446
+
447
+
448
+
449
+
450
+
451
+
452
+
453
+
454
+ <span class="summary_desc"><div class='inline'>
455
+ <p>Set the element at <em>index</em> to <em>value</em> and return <em>value</em>.</p>
456
+ </div></span>
457
+
458
+ </li>
459
+
460
+
461
+ <li class="public ">
462
+ <span class="summary_signature">
463
+
464
+ <a href="#clamp-instance_method" title="#clamp (instance method)">#<strong>clamp</strong>(lo, hi) &#x21d2; Object </a>
465
+
466
+
467
+
468
+ </span>
469
+
470
+
471
+
472
+
473
+
474
+
475
+
476
+
477
+
478
+ <span class="summary_desc"><div class='inline'>
479
+ <p>Clamp the values of this vector between limits <em>lo</em> and <em>hi</em>.</p>
480
+ </div></span>
481
+
482
+ </li>
483
+
484
+
485
+ <li class="public ">
486
+ <span class="summary_signature">
487
+
488
+ <a href="#cross-instance_method" title="#cross (instance method)">#<strong>cross</strong>(other) &#x21d2; Object </a>
489
+
490
+
491
+
492
+ </span>
493
+
494
+
495
+
496
+
497
+
498
+
499
+
500
+
501
+
502
+ <span class="summary_desc"><div class='inline'>
503
+ <p>Return the cross product of this vector and <em>other</em>.</p>
504
+ </div></span>
505
+
506
+ </li>
507
+
508
+
509
+ <li class="public ">
510
+ <span class="summary_signature">
511
+
512
+ <a href="#crosses%3F-instance_method" title="#crosses? (instance method)">#<strong>crosses?</strong>(a, b) &#x21d2; Boolean </a>
513
+
514
+
515
+
516
+ </span>
517
+
518
+
519
+
520
+
521
+
522
+
523
+
524
+
525
+
526
+ <span class="summary_desc"><div class='inline'>
527
+ <p>Return <code>true</code> if edge a-b crosses plane.</p>
528
+ </div></span>
529
+
530
+ </li>
531
+
532
+
533
+ <li class="public ">
534
+ <span class="summary_signature">
535
+
536
+ <a href="#distance-instance_method" title="#distance (instance method)">#<strong>distance</strong>(p) &#x21d2; Object </a>
537
+
538
+
539
+
540
+ </span>
541
+
542
+
543
+
544
+
545
+
546
+
547
+
548
+
549
+
550
+ <span class="summary_desc"><div class='inline'>
551
+ <p>Signed distance normalized plane and point.</p>
552
+ </div></span>
553
+
554
+ </li>
555
+
556
+
557
+ <li class="public ">
558
+ <span class="summary_signature">
559
+
560
+ <a href="#dot-instance_method" title="#dot (instance method)">#<strong>dot</strong>(other) &#x21d2; Object </a>
561
+
562
+
563
+
564
+ </span>
565
+
566
+
567
+
568
+
569
+
570
+
571
+
572
+
573
+
574
+ <span class="summary_desc"><div class='inline'>
575
+ <p>Returns the dot (scalar) product of this vector and <em>other</em>.</p>
576
+ </div></span>
577
+
578
+ </li>
579
+
580
+
581
+ <li class="public ">
582
+ <span class="summary_signature">
583
+
584
+ <a href="#hi-instance_method" title="#hi (instance method)">#<strong>hi</strong>(other) &#x21d2; Object </a>
585
+
586
+
587
+
588
+ </span>
589
+
590
+
591
+
592
+
593
+
594
+
595
+
596
+
597
+
598
+ <span class="summary_desc"><div class='inline'>
599
+ <p>Return a new FXVec4f instance which is the greater of this vector and <em>other</em>.</p>
600
+ </div></span>
601
+
602
+ </li>
603
+
604
+
605
+ <li class="public ">
606
+ <span class="summary_signature">
607
+
608
+ <a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(vec3f, ww = 1.0) &#x21d2; FXVec4f </a>
609
+
610
+
611
+
612
+ </span>
613
+
614
+
615
+ <span class="note title constructor">constructor</span>
616
+
617
+
618
+
619
+
620
+
621
+
622
+
623
+
624
+ <span class="summary_desc"><div class='inline'>
625
+ <p>Return an FXVec4f instance initialized from an FXVec3f instance and optional scalar.</p>
626
+ </div></span>
627
+
628
+ </li>
629
+
630
+
631
+ <li class="public ">
632
+ <span class="summary_signature">
633
+
634
+ <a href="#inspect-instance_method" title="#inspect (instance method)">#<strong>inspect</strong> &#x21d2; Object </a>
635
+
636
+
637
+
638
+ </span>
639
+
640
+
641
+
642
+
643
+
644
+
645
+
646
+
647
+
648
+ <span class="summary_desc"><div class='inline'></div></span>
649
+
650
+ </li>
651
+
652
+
653
+ <li class="public ">
654
+ <span class="summary_signature">
655
+
656
+ <a href="#length-instance_method" title="#length (instance method)">#<strong>length</strong> &#x21d2; Object </a>
657
+
658
+
659
+
660
+ </span>
661
+
662
+
663
+
664
+
665
+
666
+
667
+
668
+
669
+
670
+ <span class="summary_desc"><div class='inline'>
671
+ <p>Return the length (magnitude) of this vector.</p>
672
+ </div></span>
673
+
674
+ </li>
675
+
676
+
677
+ <li class="public ">
678
+ <span class="summary_signature">
679
+
680
+ <a href="#length2-instance_method" title="#length2 (instance method)">#<strong>length2</strong> &#x21d2; Object </a>
681
+
682
+
683
+
684
+ </span>
685
+
686
+
687
+
688
+
689
+
690
+
691
+
692
+
693
+
694
+ <span class="summary_desc"><div class='inline'>
695
+ <p>Return the square of the length of this vector.</p>
696
+ </div></span>
697
+
698
+ </li>
699
+
700
+
701
+ <li class="public ">
702
+ <span class="summary_signature">
703
+
704
+ <a href="#lo-instance_method" title="#lo (instance method)">#<strong>lo</strong>(other) &#x21d2; Object </a>
705
+
706
+
707
+
708
+ </span>
709
+
710
+
711
+
712
+
713
+
714
+
715
+
716
+
717
+
718
+ <span class="summary_desc"><div class='inline'>
719
+ <p>Return a new FXVec4f instance which is the lesser of this vector and <em>other</em>.</p>
720
+ </div></span>
721
+
722
+ </li>
723
+
724
+
725
+ <li class="public ">
726
+ <span class="summary_signature">
727
+
728
+ <a href="#normalize-instance_method" title="#normalize (instance method)">#<strong>normalize</strong> &#x21d2; Object </a>
729
+
730
+
731
+
732
+ </span>
733
+
734
+
735
+
736
+
737
+
738
+
739
+
740
+
741
+
742
+ <span class="summary_desc"><div class='inline'>
743
+ <p>Return a new FXVec4f instance which is a normalized version of this one.</p>
744
+ </div></span>
745
+
746
+ </li>
747
+
748
+
749
+ <li class="public ">
750
+ <span class="summary_signature">
751
+
752
+ <a href="#to_a-instance_method" title="#to_a (instance method)">#<strong>to_a</strong> &#x21d2; Object </a>
753
+
754
+
755
+
756
+ </span>
757
+
758
+
759
+
760
+
761
+
762
+
763
+
764
+
765
+
766
+ <span class="summary_desc"><div class='inline'>
767
+ <p>Convert to array.</p>
768
+ </div></span>
769
+
770
+ </li>
771
+
772
+
773
+ <li class="public ">
774
+ <span class="summary_signature">
775
+
776
+ <a href="#to_s-instance_method" title="#to_s (instance method)">#<strong>to_s</strong> &#x21d2; Object </a>
777
+
778
+
779
+
780
+ </span>
781
+
782
+
783
+
784
+
785
+
786
+
787
+
788
+
789
+
790
+ <span class="summary_desc"><div class='inline'>
791
+ <p>Convert to string.</p>
792
+ </div></span>
793
+
794
+ </li>
795
+
796
+
797
+ </ul>
798
+
799
+
800
+ <div id="constructor_details" class="method_details_list">
801
+ <h2>Constructor Details</h2>
802
+
803
+ <div class="method_details first">
804
+ <h3 class="signature first" id="initialize-instance_method">
805
+
806
+ #<strong>initialize</strong>(vec3f, ww = 1.0) &#x21d2; <tt><span class='object_link'><a href="" title="Fox::FXVec4f (class)">FXVec4f</a></span></tt>
807
+
808
+
809
+
810
+
811
+
812
+ </h3><div class="docstring">
813
+ <div class="discussion">
814
+
815
+ <p>Return an FXVec4f instance initialized from an FXVec3f instance and optional scalar.</p>
816
+
817
+
818
+ </div>
819
+ </div>
820
+ <div class="tags">
821
+
822
+
823
+ </div><table class="source_code">
824
+ <tr>
825
+ <td>
826
+ <pre class="lines">
827
+
828
+
829
+ 12</pre>
830
+ </td>
831
+ <td>
832
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXVec4f.rb', line 12</span>
833
+
834
+ <span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
835
+ </td>
836
+ </tr>
837
+ </table>
838
+ </div>
839
+
840
+ </div>
841
+
842
+ <div id="instance_attr_details" class="attr_details">
843
+ <h2>Instance Attribute Details</h2>
844
+
845
+
846
+ <span id="w=-instance_method"></span>
847
+ <div class="method_details first">
848
+ <h3 class="signature first" id="w-instance_method">
849
+
850
+ #<strong>w</strong> &#x21d2; <tt>Object</tt>
851
+
852
+
853
+
854
+
855
+
856
+ </h3><div class="docstring">
857
+ <div class="discussion">
858
+
859
+ <p>Returns the value of attribute w.</p>
860
+
861
+
862
+ </div>
863
+ </div>
864
+ <div class="tags">
865
+
866
+
867
+ </div><table class="source_code">
868
+ <tr>
869
+ <td>
870
+ <pre class="lines">
871
+
872
+
873
+ 7
874
+ 8
875
+ 9</pre>
876
+ </td>
877
+ <td>
878
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXVec4f.rb', line 7</span>
879
+
880
+ <span class='kw'>def</span> <span class='id identifier rubyid_w'>w</span>
881
+ <span class='ivar'>@w</span>
882
+ <span class='kw'>end</span></pre>
883
+ </td>
884
+ </tr>
885
+ </table>
886
+ </div>
887
+
888
+
889
+ <span id="x=-instance_method"></span>
890
+ <div class="method_details ">
891
+ <h3 class="signature " id="x-instance_method">
892
+
893
+ #<strong>x</strong> &#x21d2; <tt>Object</tt>
894
+
895
+
896
+
897
+
898
+
899
+ </h3><div class="docstring">
900
+ <div class="discussion">
901
+
902
+ <p>Returns the value of attribute x.</p>
903
+
904
+
905
+ </div>
906
+ </div>
907
+ <div class="tags">
908
+
909
+
910
+ </div><table class="source_code">
911
+ <tr>
912
+ <td>
913
+ <pre class="lines">
914
+
915
+
916
+ 4
917
+ 5
918
+ 6</pre>
919
+ </td>
920
+ <td>
921
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXVec4f.rb', line 4</span>
922
+
923
+ <span class='kw'>def</span> <span class='id identifier rubyid_x'>x</span>
924
+ <span class='ivar'>@x</span>
925
+ <span class='kw'>end</span></pre>
926
+ </td>
927
+ </tr>
928
+ </table>
929
+ </div>
930
+
931
+
932
+ <span id="y=-instance_method"></span>
933
+ <div class="method_details ">
934
+ <h3 class="signature " id="y-instance_method">
935
+
936
+ #<strong>y</strong> &#x21d2; <tt>Object</tt>
937
+
938
+
939
+
940
+
941
+
942
+ </h3><div class="docstring">
943
+ <div class="discussion">
944
+
945
+ <p>Returns the value of attribute y.</p>
946
+
947
+
948
+ </div>
949
+ </div>
950
+ <div class="tags">
951
+
952
+
953
+ </div><table class="source_code">
954
+ <tr>
955
+ <td>
956
+ <pre class="lines">
957
+
958
+
959
+ 5
960
+ 6
961
+ 7</pre>
962
+ </td>
963
+ <td>
964
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXVec4f.rb', line 5</span>
965
+
966
+ <span class='kw'>def</span> <span class='id identifier rubyid_y'>y</span>
967
+ <span class='ivar'>@y</span>
968
+ <span class='kw'>end</span></pre>
969
+ </td>
970
+ </tr>
971
+ </table>
972
+ </div>
973
+
974
+
975
+ <span id="z=-instance_method"></span>
976
+ <div class="method_details ">
977
+ <h3 class="signature " id="z-instance_method">
978
+
979
+ #<strong>z</strong> &#x21d2; <tt>Object</tt>
980
+
981
+
982
+
983
+
984
+
985
+ </h3><div class="docstring">
986
+ <div class="discussion">
987
+
988
+ <p>Returns the value of attribute z.</p>
989
+
990
+
991
+ </div>
992
+ </div>
993
+ <div class="tags">
994
+
995
+
996
+ </div><table class="source_code">
997
+ <tr>
998
+ <td>
999
+ <pre class="lines">
1000
+
1001
+
1002
+ 6
1003
+ 7
1004
+ 8</pre>
1005
+ </td>
1006
+ <td>
1007
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXVec4f.rb', line 6</span>
1008
+
1009
+ <span class='kw'>def</span> <span class='id identifier rubyid_z'>z</span>
1010
+ <span class='ivar'>@z</span>
1011
+ <span class='kw'>end</span></pre>
1012
+ </td>
1013
+ </tr>
1014
+ </table>
1015
+ </div>
1016
+
1017
+ </div>
1018
+
1019
+
1020
+ <div id="class_method_details" class="method_details_list">
1021
+ <h2>Class Method Details</h2>
1022
+
1023
+
1024
+ <div class="method_details first">
1025
+ <h3 class="signature first" id="plane-class_method">
1026
+
1027
+ .<strong>plane</strong>(a, b, c) &#x21d2; <tt>Object</tt>
1028
+
1029
+
1030
+
1031
+
1032
+
1033
+ </h3><div class="docstring">
1034
+ <div class="discussion">
1035
+
1036
+ <p>Compute normalized plane equation ax + by + cz + d = 0.</p>
1037
+
1038
+
1039
+ </div>
1040
+ </div>
1041
+ <div class="tags">
1042
+
1043
+
1044
+ </div><table class="source_code">
1045
+ <tr>
1046
+ <td>
1047
+ <pre class="lines">
1048
+
1049
+
1050
+ 115</pre>
1051
+ </td>
1052
+ <td>
1053
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXVec4f.rb', line 115</span>
1054
+
1055
+ <span class='kw'>def</span> <span class='const'><span class='object_link'><a href="" title="Fox::FXVec4f (class)">FXVec4f</a></span></span><span class='period'>.</span><span class='id identifier rubyid_plane'>plane</span><span class='lparen'>(</span><span class='id identifier rubyid_vec'>vec</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
1056
+ </td>
1057
+ </tr>
1058
+ </table>
1059
+ </div>
1060
+
1061
+ </div>
1062
+
1063
+ <div id="instance_method_details" class="method_details_list">
1064
+ <h2>Instance Method Details</h2>
1065
+
1066
+
1067
+ <div class="method_details first">
1068
+ <h3 class="signature first" id="*-instance_method">
1069
+
1070
+ #<strong>*</strong>(n) &#x21d2; <tt>Object</tt>
1071
+
1072
+
1073
+
1074
+
1075
+
1076
+ </h3><div class="docstring">
1077
+ <div class="discussion">
1078
+
1079
+ <p>Returns a new FXVec4f instance obtained by memberwise multiplication of this vector&#39;s elements by the scalar <em>n</em>.</p>
1080
+
1081
+
1082
+ </div>
1083
+ </div>
1084
+ <div class="tags">
1085
+
1086
+
1087
+ </div><table class="source_code">
1088
+ <tr>
1089
+ <td>
1090
+ <pre class="lines">
1091
+
1092
+
1093
+ 58</pre>
1094
+ </td>
1095
+ <td>
1096
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXVec4f.rb', line 58</span>
1097
+
1098
+ <span class='kw'>def</span> <span class='op'>*</span><span class='lparen'>(</span><span class='id identifier rubyid_n'>n</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
1099
+ </td>
1100
+ </tr>
1101
+ </table>
1102
+ </div>
1103
+
1104
+ <div class="method_details ">
1105
+ <h3 class="signature " id="+-instance_method">
1106
+
1107
+ #<strong>+</strong>(other) &#x21d2; <tt>Object</tt>
1108
+
1109
+
1110
+
1111
+
1112
+
1113
+ </h3><div class="docstring">
1114
+ <div class="discussion">
1115
+
1116
+ <p>Returns a new FXVec4f instance obtained by memberwise addition of the <em>other</em> FXVec4f instance with this one.</p>
1117
+
1118
+
1119
+ </div>
1120
+ </div>
1121
+ <div class="tags">
1122
+
1123
+
1124
+ </div><table class="source_code">
1125
+ <tr>
1126
+ <td>
1127
+ <pre class="lines">
1128
+
1129
+
1130
+ 44</pre>
1131
+ </td>
1132
+ <td>
1133
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXVec4f.rb', line 44</span>
1134
+
1135
+ <span class='kw'>def</span> <span class='op'>+</span><span class='lparen'>(</span><span class='id identifier rubyid_other'>other</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
1136
+ </td>
1137
+ </tr>
1138
+ </table>
1139
+ </div>
1140
+
1141
+ <div class="method_details ">
1142
+ <h3 class="signature " id="--instance_method">
1143
+
1144
+ #<strong>-</strong>(other) &#x21d2; <tt>Object</tt>
1145
+
1146
+
1147
+
1148
+
1149
+
1150
+ </h3><div class="docstring">
1151
+ <div class="discussion">
1152
+
1153
+ <p>Returns a new FXVec4f instance obtained by memberwise subtraction of the <em>other</em> FXVec4f instance from this one.</p>
1154
+
1155
+
1156
+ </div>
1157
+ </div>
1158
+ <div class="tags">
1159
+
1160
+
1161
+ </div><table class="source_code">
1162
+ <tr>
1163
+ <td>
1164
+ <pre class="lines">
1165
+
1166
+
1167
+ 51</pre>
1168
+ </td>
1169
+ <td>
1170
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXVec4f.rb', line 51</span>
1171
+
1172
+ <span class='kw'>def</span> <span class='op'>-</span><span class='lparen'>(</span><span class='id identifier rubyid_other'>other</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
1173
+ </td>
1174
+ </tr>
1175
+ </table>
1176
+ </div>
1177
+
1178
+ <div class="method_details ">
1179
+ <h3 class="signature " id="-@-instance_method">
1180
+
1181
+ #<strong>-@</strong> &#x21d2; <tt>Object</tt>
1182
+
1183
+
1184
+
1185
+
1186
+
1187
+ </h3><div class="docstring">
1188
+ <div class="discussion">
1189
+
1190
+ <p>Returns a new FXVec4f instance which is the negation of this one.</p>
1191
+
1192
+
1193
+ </div>
1194
+ </div>
1195
+ <div class="tags">
1196
+
1197
+
1198
+ </div><table class="source_code">
1199
+ <tr>
1200
+ <td>
1201
+ <pre class="lines">
1202
+
1203
+
1204
+ 37</pre>
1205
+ </td>
1206
+ <td>
1207
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXVec4f.rb', line 37</span>
1208
+
1209
+ <span class='kw'>def</span> <span class='op'>-@</span><span class='lparen'>(</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
1210
+ </td>
1211
+ </tr>
1212
+ </table>
1213
+ </div>
1214
+
1215
+ <div class="method_details ">
1216
+ <h3 class="signature " id="/-instance_method">
1217
+
1218
+ #<strong>/</strong>(n) &#x21d2; <tt>Object</tt>
1219
+
1220
+
1221
+
1222
+
1223
+
1224
+ </h3><div class="docstring">
1225
+ <div class="discussion">
1226
+
1227
+ <p>Returns a new FXVec4f instance obtained by memberwise division of this vector&#39;s elements by the scalar <em>n</em>. Raises ZeroDivisionError if <em>n</em> is identically zero.</p>
1228
+
1229
+
1230
+ </div>
1231
+ </div>
1232
+ <div class="tags">
1233
+
1234
+
1235
+ </div><table class="source_code">
1236
+ <tr>
1237
+ <td>
1238
+ <pre class="lines">
1239
+
1240
+
1241
+ 66</pre>
1242
+ </td>
1243
+ <td>
1244
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXVec4f.rb', line 66</span>
1245
+
1246
+ <span class='kw'>def</span> <span class='op'>/</span><span class='lparen'>(</span><span class='id identifier rubyid_n'>n</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
1247
+ </td>
1248
+ </tr>
1249
+ </table>
1250
+ </div>
1251
+
1252
+ <div class="method_details ">
1253
+ <h3 class="signature " id="==-instance_method">
1254
+
1255
+ #<strong>==</strong>(other) &#x21d2; <tt>Object</tt>
1256
+
1257
+
1258
+
1259
+
1260
+
1261
+ </h3><div class="docstring">
1262
+ <div class="discussion">
1263
+
1264
+ <p>Return <code>true</code> if this vector is equal to <em>other</em>.</p>
1265
+
1266
+
1267
+ </div>
1268
+ </div>
1269
+ <div class="tags">
1270
+
1271
+
1272
+ </div><table class="source_code">
1273
+ <tr>
1274
+ <td>
1275
+ <pre class="lines">
1276
+
1277
+
1278
+ 77</pre>
1279
+ </td>
1280
+ <td>
1281
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXVec4f.rb', line 77</span>
1282
+
1283
+ <span class='kw'>def</span> <span class='op'>==</span><span class='lparen'>(</span><span class='id identifier rubyid_other'>other</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
1284
+ </td>
1285
+ </tr>
1286
+ </table>
1287
+ </div>
1288
+
1289
+ <div class="method_details ">
1290
+ <h3 class="signature " id="[]-instance_method">
1291
+
1292
+ #<strong>[]</strong>(index) &#x21d2; <tt>Object</tt>
1293
+
1294
+
1295
+
1296
+
1297
+
1298
+ </h3><div class="docstring">
1299
+ <div class="discussion">
1300
+
1301
+ <p>Returns the element at <em>index</em>, where <em>index</em> is 0, 1, 2 or 3. Raises IndexError if <em>index</em> is out of range.</p>
1302
+
1303
+
1304
+ </div>
1305
+ </div>
1306
+ <div class="tags">
1307
+
1308
+
1309
+ </div><table class="source_code">
1310
+ <tr>
1311
+ <td>
1312
+ <pre class="lines">
1313
+
1314
+
1315
+ 28</pre>
1316
+ </td>
1317
+ <td>
1318
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXVec4f.rb', line 28</span>
1319
+
1320
+ <span class='kw'>def</span> <span class='op'>[]</span><span class='lparen'>(</span><span class='id identifier rubyid_index'>index</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
1321
+ </td>
1322
+ </tr>
1323
+ </table>
1324
+ </div>
1325
+
1326
+ <div class="method_details ">
1327
+ <h3 class="signature " id="[]=-instance_method">
1328
+
1329
+ #<strong>[]=</strong>(index, value) &#x21d2; <tt>Object</tt>
1330
+
1331
+
1332
+
1333
+
1334
+
1335
+ </h3><div class="docstring">
1336
+ <div class="discussion">
1337
+
1338
+ <p>Set the element at <em>index</em> to <em>value</em> and return <em>value</em>. Raises IndexError if <em>index</em> is out of range.</p>
1339
+
1340
+
1341
+ </div>
1342
+ </div>
1343
+ <div class="tags">
1344
+
1345
+
1346
+ </div><table class="source_code">
1347
+ <tr>
1348
+ <td>
1349
+ <pre class="lines">
1350
+
1351
+
1352
+ 34</pre>
1353
+ </td>
1354
+ <td>
1355
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXVec4f.rb', line 34</span>
1356
+
1357
+ <span class='kw'>def</span> <span class='op'>[]=</span><span class='lparen'>(</span><span class='id identifier rubyid_index'>index</span><span class='comma'>,</span> <span class='id identifier rubyid_value'>value</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
1358
+ </td>
1359
+ </tr>
1360
+ </table>
1361
+ </div>
1362
+
1363
+ <div class="method_details ">
1364
+ <h3 class="signature " id="clamp-instance_method">
1365
+
1366
+ #<strong>clamp</strong>(lo, hi) &#x21d2; <tt>Object</tt>
1367
+
1368
+
1369
+
1370
+
1371
+
1372
+ </h3><div class="docstring">
1373
+ <div class="discussion">
1374
+
1375
+ <p>Clamp the values of this vector between limits <em>lo</em> and <em>hi</em>.</p>
1376
+
1377
+
1378
+ </div>
1379
+ </div>
1380
+ <div class="tags">
1381
+
1382
+
1383
+ </div><table class="source_code">
1384
+ <tr>
1385
+ <td>
1386
+ <pre class="lines">
1387
+
1388
+
1389
+ 92</pre>
1390
+ </td>
1391
+ <td>
1392
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXVec4f.rb', line 92</span>
1393
+
1394
+ <span class='kw'>def</span> <span class='id identifier rubyid_clamp'>clamp</span><span class='lparen'>(</span><span class='id identifier rubyid_lo'>lo</span><span class='comma'>,</span> <span class='id identifier rubyid_hi'>hi</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
1395
+ </td>
1396
+ </tr>
1397
+ </table>
1398
+ </div>
1399
+
1400
+ <div class="method_details ">
1401
+ <h3 class="signature " id="cross-instance_method">
1402
+
1403
+ #<strong>cross</strong>(other) &#x21d2; <tt>Object</tt>
1404
+
1405
+
1406
+
1407
+
1408
+
1409
+ </h3><div class="docstring">
1410
+ <div class="discussion">
1411
+
1412
+ <p>Return the cross product of this vector and <em>other</em>.</p>
1413
+
1414
+
1415
+ </div>
1416
+ </div>
1417
+ <div class="tags">
1418
+
1419
+
1420
+ </div><table class="source_code">
1421
+ <tr>
1422
+ <td>
1423
+ <pre class="lines">
1424
+
1425
+
1426
+ 74</pre>
1427
+ </td>
1428
+ <td>
1429
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXVec4f.rb', line 74</span>
1430
+
1431
+ <span class='kw'>def</span> <span class='id identifier rubyid_cross'>cross</span><span class='lparen'>(</span><span class='id identifier rubyid_other'>other</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
1432
+ </td>
1433
+ </tr>
1434
+ </table>
1435
+ </div>
1436
+
1437
+ <div class="method_details ">
1438
+ <h3 class="signature " id="crosses?-instance_method">
1439
+
1440
+ #<strong>crosses?</strong>(a, b) &#x21d2; <tt>Boolean</tt>
1441
+
1442
+
1443
+
1444
+
1445
+
1446
+ </h3><div class="docstring">
1447
+ <div class="discussion">
1448
+
1449
+ <p>Return <code>true</code> if edge a-b crosses plane</p>
1450
+
1451
+
1452
+ </div>
1453
+ </div>
1454
+ <div class="tags">
1455
+
1456
+ <p class="tag_title">Returns:</p>
1457
+ <ul class="return">
1458
+
1459
+ <li>
1460
+
1461
+
1462
+ <span class='type'>(<tt>Boolean</tt>)</span>
1463
+
1464
+
1465
+
1466
+ </li>
1467
+
1468
+ </ul>
1469
+
1470
+ </div><table class="source_code">
1471
+ <tr>
1472
+ <td>
1473
+ <pre class="lines">
1474
+
1475
+
1476
+ 136</pre>
1477
+ </td>
1478
+ <td>
1479
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXVec4f.rb', line 136</span>
1480
+
1481
+ <span class='kw'>def</span> <span class='id identifier rubyid_crosses?'>crosses?</span><span class='lparen'>(</span><span class='id identifier rubyid_a'>a</span><span class='comma'>,</span> <span class='id identifier rubyid_b'>b</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
1482
+ </td>
1483
+ </tr>
1484
+ </table>
1485
+ </div>
1486
+
1487
+ <div class="method_details ">
1488
+ <h3 class="signature " id="distance-instance_method">
1489
+
1490
+ #<strong>distance</strong>(p) &#x21d2; <tt>Object</tt>
1491
+
1492
+
1493
+
1494
+
1495
+
1496
+ </h3><div class="docstring">
1497
+ <div class="discussion">
1498
+
1499
+ <p>Signed distance normalized plane and point</p>
1500
+
1501
+
1502
+ </div>
1503
+ </div>
1504
+ <div class="tags">
1505
+
1506
+
1507
+ </div><table class="source_code">
1508
+ <tr>
1509
+ <td>
1510
+ <pre class="lines">
1511
+
1512
+
1513
+ 133</pre>
1514
+ </td>
1515
+ <td>
1516
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXVec4f.rb', line 133</span>
1517
+
1518
+ <span class='kw'>def</span> <span class='id identifier rubyid_distance'>distance</span><span class='lparen'>(</span><span class='id identifier rubyid_p'>p</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
1519
+ </td>
1520
+ </tr>
1521
+ </table>
1522
+ </div>
1523
+
1524
+ <div class="method_details ">
1525
+ <h3 class="signature " id="dot-instance_method">
1526
+
1527
+ #<strong>dot</strong>(other) &#x21d2; <tt>Object</tt>
1528
+
1529
+
1530
+
1531
+
1532
+
1533
+ </h3><div class="docstring">
1534
+ <div class="discussion">
1535
+
1536
+ <p>Returns the dot (scalar) product of this vector and <em>other</em>.</p>
1537
+
1538
+
1539
+ </div>
1540
+ </div>
1541
+ <div class="tags">
1542
+
1543
+
1544
+ </div><table class="source_code">
1545
+ <tr>
1546
+ <td>
1547
+ <pre class="lines">
1548
+
1549
+
1550
+ 71</pre>
1551
+ </td>
1552
+ <td>
1553
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXVec4f.rb', line 71</span>
1554
+
1555
+ <span class='kw'>def</span> <span class='id identifier rubyid_dot'>dot</span><span class='lparen'>(</span><span class='id identifier rubyid_other'>other</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
1556
+ </td>
1557
+ </tr>
1558
+ </table>
1559
+ </div>
1560
+
1561
+ <div class="method_details ">
1562
+ <h3 class="signature " id="hi-instance_method">
1563
+
1564
+ #<strong>hi</strong>(other) &#x21d2; <tt>Object</tt>
1565
+
1566
+
1567
+
1568
+
1569
+
1570
+ </h3><div class="docstring">
1571
+ <div class="discussion">
1572
+
1573
+ <p>Return a new FXVec4f instance which is the greater of this vector and <em>other</em>.</p>
1574
+
1575
+
1576
+ </div>
1577
+ </div>
1578
+ <div class="tags">
1579
+
1580
+
1581
+ </div><table class="source_code">
1582
+ <tr>
1583
+ <td>
1584
+ <pre class="lines">
1585
+
1586
+
1587
+ 110</pre>
1588
+ </td>
1589
+ <td>
1590
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXVec4f.rb', line 110</span>
1591
+
1592
+ <span class='kw'>def</span> <span class='id identifier rubyid_hi'>hi</span><span class='lparen'>(</span><span class='id identifier rubyid_other'>other</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
1593
+ </td>
1594
+ </tr>
1595
+ </table>
1596
+ </div>
1597
+
1598
+ <div class="method_details ">
1599
+ <h3 class="signature " id="inspect-instance_method">
1600
+
1601
+ #<strong>inspect</strong> &#x21d2; <tt>Object</tt>
1602
+
1603
+
1604
+
1605
+
1606
+
1607
+ </h3><table class="source_code">
1608
+ <tr>
1609
+ <td>
1610
+ <pre class="lines">
1611
+
1612
+
1613
+ 291</pre>
1614
+ </td>
1615
+ <td>
1616
+ <pre class="code"><span class="info file"># File 'lib/fox16/core.rb', line 291</span>
1617
+
1618
+ <span class='kw'>def</span> <span class='id identifier rubyid_inspect'>inspect</span><span class='semicolon'>;</span> <span class='id identifier rubyid_to_a'>to_a</span><span class='period'>.</span><span class='id identifier rubyid_inspect'>inspect</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
1619
+ </td>
1620
+ </tr>
1621
+ </table>
1622
+ </div>
1623
+
1624
+ <div class="method_details ">
1625
+ <h3 class="signature " id="length-instance_method">
1626
+
1627
+ #<strong>length</strong> &#x21d2; <tt>Object</tt>
1628
+
1629
+
1630
+
1631
+
1632
+
1633
+ </h3><div class="docstring">
1634
+ <div class="discussion">
1635
+
1636
+ <p>Return the length (magnitude) of this vector.</p>
1637
+
1638
+
1639
+ </div>
1640
+ </div>
1641
+ <div class="tags">
1642
+
1643
+
1644
+ </div><table class="source_code">
1645
+ <tr>
1646
+ <td>
1647
+ <pre class="lines">
1648
+
1649
+
1650
+ 87</pre>
1651
+ </td>
1652
+ <td>
1653
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXVec4f.rb', line 87</span>
1654
+
1655
+ <span class='kw'>def</span> <span class='id identifier rubyid_length'>length</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
1656
+ </td>
1657
+ </tr>
1658
+ </table>
1659
+ </div>
1660
+
1661
+ <div class="method_details ">
1662
+ <h3 class="signature " id="length2-instance_method">
1663
+
1664
+ #<strong>length2</strong> &#x21d2; <tt>Object</tt>
1665
+
1666
+
1667
+
1668
+
1669
+
1670
+ </h3><div class="docstring">
1671
+ <div class="discussion">
1672
+
1673
+ <p>Return the square of the length of this vector.</p>
1674
+
1675
+
1676
+ </div>
1677
+ </div>
1678
+ <div class="tags">
1679
+
1680
+
1681
+ </div><table class="source_code">
1682
+ <tr>
1683
+ <td>
1684
+ <pre class="lines">
1685
+
1686
+
1687
+ 82</pre>
1688
+ </td>
1689
+ <td>
1690
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXVec4f.rb', line 82</span>
1691
+
1692
+ <span class='kw'>def</span> <span class='id identifier rubyid_length2'>length2</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
1693
+ </td>
1694
+ </tr>
1695
+ </table>
1696
+ </div>
1697
+
1698
+ <div class="method_details ">
1699
+ <h3 class="signature " id="lo-instance_method">
1700
+
1701
+ #<strong>lo</strong>(other) &#x21d2; <tt>Object</tt>
1702
+
1703
+
1704
+
1705
+
1706
+
1707
+ </h3><div class="docstring">
1708
+ <div class="discussion">
1709
+
1710
+ <p>Return a new FXVec4f instance which is the lesser of this vector and <em>other</em>.</p>
1711
+
1712
+
1713
+ </div>
1714
+ </div>
1715
+ <div class="tags">
1716
+
1717
+
1718
+ </div><table class="source_code">
1719
+ <tr>
1720
+ <td>
1721
+ <pre class="lines">
1722
+
1723
+
1724
+ 104</pre>
1725
+ </td>
1726
+ <td>
1727
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXVec4f.rb', line 104</span>
1728
+
1729
+ <span class='kw'>def</span> <span class='id identifier rubyid_lo'>lo</span><span class='lparen'>(</span><span class='id identifier rubyid_other'>other</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
1730
+ </td>
1731
+ </tr>
1732
+ </table>
1733
+ </div>
1734
+
1735
+ <div class="method_details ">
1736
+ <h3 class="signature " id="normalize-instance_method">
1737
+
1738
+ #<strong>normalize</strong> &#x21d2; <tt>Object</tt>
1739
+
1740
+
1741
+
1742
+
1743
+
1744
+ </h3><div class="docstring">
1745
+ <div class="discussion">
1746
+
1747
+ <p>Return a new FXVec4f instance which is a normalized version of this one.</p>
1748
+
1749
+
1750
+ </div>
1751
+ </div>
1752
+ <div class="tags">
1753
+
1754
+
1755
+ </div><table class="source_code">
1756
+ <tr>
1757
+ <td>
1758
+ <pre class="lines">
1759
+
1760
+
1761
+ 98</pre>
1762
+ </td>
1763
+ <td>
1764
+ <pre class="code"><span class="info file"># File 'rdoc-sources/FXVec4f.rb', line 98</span>
1765
+
1766
+ <span class='kw'>def</span> <span class='id identifier rubyid_normalize'>normalize</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
1767
+ </td>
1768
+ </tr>
1769
+ </table>
1770
+ </div>
1771
+
1772
+ <div class="method_details ">
1773
+ <h3 class="signature " id="to_a-instance_method">
1774
+
1775
+ #<strong>to_a</strong> &#x21d2; <tt>Object</tt>
1776
+
1777
+
1778
+
1779
+
1780
+
1781
+ </h3><div class="docstring">
1782
+ <div class="discussion">
1783
+
1784
+ <p>Convert to array</p>
1785
+
1786
+
1787
+ </div>
1788
+ </div>
1789
+ <div class="tags">
1790
+
1791
+
1792
+ </div><table class="source_code">
1793
+ <tr>
1794
+ <td>
1795
+ <pre class="lines">
1796
+
1797
+
1798
+ 286</pre>
1799
+ </td>
1800
+ <td>
1801
+ <pre class="code"><span class="info file"># File 'lib/fox16/core.rb', line 286</span>
1802
+
1803
+ <span class='kw'>def</span> <span class='id identifier rubyid_to_a'>to_a</span><span class='semicolon'>;</span> <span class='lbracket'>[</span><span class='id identifier rubyid_x'>x</span><span class='comma'>,</span> <span class='id identifier rubyid_y'>y</span><span class='comma'>,</span> <span class='id identifier rubyid_z'>z</span><span class='comma'>,</span> <span class='id identifier rubyid_w'>w</span><span class='rbracket'>]</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
1804
+ </td>
1805
+ </tr>
1806
+ </table>
1807
+ </div>
1808
+
1809
+ <div class="method_details ">
1810
+ <h3 class="signature " id="to_s-instance_method">
1811
+
1812
+ #<strong>to_s</strong> &#x21d2; <tt>Object</tt>
1813
+
1814
+
1815
+
1816
+
1817
+
1818
+ </h3><div class="docstring">
1819
+ <div class="discussion">
1820
+
1821
+ <p>Convert to string</p>
1822
+
1823
+
1824
+ </div>
1825
+ </div>
1826
+ <div class="tags">
1827
+
1828
+
1829
+ </div><table class="source_code">
1830
+ <tr>
1831
+ <td>
1832
+ <pre class="lines">
1833
+
1834
+
1835
+ 289</pre>
1836
+ </td>
1837
+ <td>
1838
+ <pre class="code"><span class="info file"># File 'lib/fox16/core.rb', line 289</span>
1839
+
1840
+ <span class='kw'>def</span> <span class='id identifier rubyid_to_s'>to_s</span><span class='semicolon'>;</span> <span class='id identifier rubyid_to_a'>to_a</span><span class='period'>.</span><span class='id identifier rubyid_to_s'>to_s</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
1841
+ </td>
1842
+ </tr>
1843
+ </table>
1844
+ </div>
1845
+
1846
+ </div>
1847
+
1848
+ </div>
1849
+
1850
+ <div id="footer">
1851
+ Generated on Fri Nov 27 21:10:41 2020 by
1852
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1853
+ 0.9.24 (ruby-2.7.2).
1854
+ </div>
1855
+
1856
+ </div>
1857
+ </body>
1858
+ </html>