Tree @run/867a9ad8-16f3-49f2-8da1-08141b9b00dd/main (Download .tar.gz)
- ..
- FX4Splitter.rb
- FX7Segment.rb
- FXAccelTable.rb
- FXApp.rb
- FXArrowButton.rb
- FXBitmap.rb
- FXBitmapFrame.rb
- FXBitmapView.rb
- FXBMPIcon.rb
- FXBMPImage.rb
- FXButton.rb
- FXCanvas.rb
- FXCheckButton.rb
- FXChoiceBox.rb
- FXColorBar.rb
- FXColorDialog.rb
- FXColorList.rb
- FXColorRing.rb
- FXColorSelector.rb
- FXColorWell.rb
- FXColorWheel.rb
- FXComboBox.rb
- FXComposite.rb
- FXCURCursor.rb
- FXCursor.rb
- FXDataTarget.rb
- FXDC.rb
- FXDCPrint.rb
- FXDCWindow.rb
- FXDebugTarget.rb
- fxdefs.rb
- FXDelegator.rb
- FXDial.rb
- FXDialogBox.rb
- FXDict.rb
- FXDirBox.rb
- FXDirDialog.rb
- FXDirList.rb
- FXDirSelector.rb
- FXDockBar.rb
- FXDockHandler.rb
- FXDockSite.rb
- FXDockTitle.rb
- FXDocument.rb
- FXDragCorner.rb
- FXDrawable.rb
- FXDriveBox.rb
- FXExtentd.rb
- FXExtentf.rb
- FXFileDialog.rb
- FXFileDict.rb
- FXFileList.rb
- FXFileSelector.rb
- FXFileStream.rb
- FXFoldingList.rb
- FXFont.rb
- FXFontDialog.rb
- FXFontSelector.rb
- FXFrame.rb
- FXGIFCursor.rb
- FXGIFIcon.rb
- FXGIFImage.rb
- FXGLCanvas.rb
- FXGLContext.rb
- FXGLObject.rb
- FXGLShape.rb
- FXGLViewer.rb
- FXGLVisual.rb
- FXGradientBar.rb
- FXGroupBox.rb
- FXHeader.rb
- FXHorizontalFrame.rb
- FXICOIcon.rb
- FXICOImage.rb
- FXIcon.rb
- FXIconDict.rb
- FXIconList.rb
- FXIconSource.rb
- FXId.rb
- FXImage.rb
- FXImageFrame.rb
- FXImageView.rb
- FXInputDialog.rb
- FXJPGIcon.rb
- FXJPGImage.rb
- FXKnob.rb
- FXLabel.rb
- FXList.rb
- FXListBox.rb
- FXMainWindow.rb
- FXMatrix.rb
- FXMDIButton.rb
- FXMDIChild.rb
- FXMDIClient.rb
- FXMemoryBuffer.rb
- FXMemoryStream.rb
- FXMenuBar.rb
- FXMenuButton.rb
- FXMenuCaption.rb
- FXMenuCascade.rb
- FXMenuCheck.rb
- FXMenuCommand.rb
- FXMenuPane.rb
- FXMenuRadio.rb
- FXMenuSeparator.rb
- FXMenuTitle.rb
- FXMessageBox.rb
- FXObject.rb
- FXOptionMenu.rb
- FXPacker.rb
- FXPCXIcon.rb
- FXPCXImage.rb
- FXPicker.rb
- FXPNGIcon.rb
- FXPNGImage.rb
- FXPopup.rb
- FXPPMIcon.rb
- FXPPMImage.rb
- FXPrintDialog.rb
- FXProgressBar.rb
- FXProgressDialog.rb
- FXQuatd.rb
- FXQuatf.rb
- FXRadioButton.rb
- FXRanged.rb
- FXRangef.rb
- FXRealSlider.rb
- FXRealSpinner.rb
- FXRecentFiles.rb
- FXRectangle.rb
- FXRegion.rb
- FXRegistry.rb
- FXReplaceDialog.rb
- FXRGBIcon.rb
- FXRGBImage.rb
- FXRootWindow.rb
- FXRuler.rb
- FXRulerView.rb
- FXScintilla.rb
- FXScrollArea.rb
- FXScrollBar.rb
- FXScrollPane.rb
- FXScrollWindow.rb
- FXSearchDialog.rb
- FXSeparator.rb
- FXSettings.rb
- FXShell.rb
- FXShutter.rb
- FXSize.rb
- FXSlider.rb
- FXSphered.rb
- FXSpheref.rb
- FXSpinner.rb
- FXSplashWindow.rb
- FXSplitter.rb
- FXSpring.rb
- FXStatusBar.rb
- FXStatusLine.rb
- FXStream.rb
- FXStringDict.rb
- FXSwitcher.rb
- FXTabBar.rb
- FXTabBook.rb
- FXTabItem.rb
- FXTable.rb
- FXText.rb
- FXTextField.rb
- FXTGAIcon.rb
- FXTGAImage.rb
- FXTIFIcon.rb
- FXTIFImage.rb
- FXToggleButton.rb
- FXToolBar.rb
- FXToolBarGrip.rb
- FXToolBarShell.rb
- FXToolBarTab.rb
- FXToolTip.rb
- FXTopWindow.rb
- FXTranslator.rb
- FXTreeList.rb
- FXTreeListBox.rb
- FXTriStateButton.rb
- FXVec2d.rb
- FXVec2f.rb
- FXVec3d.rb
- FXVec3f.rb
- FXVec4d.rb
- FXVec4f.rb
- FXVerticalFrame.rb
- FXVisual.rb
- FXWindow.rb
- FXWizard.rb
- FXXBMIcon.rb
- FXXBMImage.rb
- FXXPMIcon.rb
- FXXPMImage.rb
- Makefile
- README.rdoc
FXVec4f.rb @run/867a9ad8-16f3-49f2-8da1-08141b9b00dd/main — raw · history · blame
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 | module Fox
class FXVec4f
attr_accessor :x
attr_accessor :y
attr_accessor :z
attr_accessor :w
#
# Return an FXVec4f instance with _x_, _y_, _z_ and _w_ initialized to zeroes.
#
def initialize; end
#
# Return an FXVec4f instance initialized from specified component values.
#
def initialize(xx, yy, zz, ww=1.0); end
#
# Return an FXVec4f instance initialized from an FXVec3f instance and optional scalar.
#
def initialize(vec3f, ww=1.0); end
#
# Returns the element at _index_, where _index_ is 0, 1, 2 or 3.
# Raises IndexError if _index_ is out of range.
#
def [](index); end
#
# Set the element at _index_ to _value_ and return _value_.
# Raises IndexError if _index_ is out of range.
#
def []=(index, value); end
# Returns a new FXVec4f instance which is the negation of this one.
def -@(); end
#
# Returns a new FXVec4f instance obtained by memberwise
# addition of the _other_ FXVec4f instance with this
# one.
#
def +(other); end
#
# Returns a new FXVec4f instance obtained by memberwise
# subtraction of the _other_ FXVec4f instance from this
# one.
#
def -(other); end
#
# Returns a new FXVec4f instance obtained by memberwise
# multiplication of this vector's elements by the scalar
# _n_.
#
def *(n); end
#
# Returns a new FXVec4f instance obtained by memberwise
# division of this vector's elements by the scalar
# _n_.
# Raises ZeroDivisionError if _n_ is identically zero.
#
def /(n); end
#
# Returns the dot (scalar) product of this vector and _other_.
#
def dot(other); end
# Return the cross product of this vector and _other_.
def cross(other); end
# Return +true+ if this vector is equal to _other_.
def ==(other); end
#
# Return the square of the length of this vector.
#
def length2; end
#
# Return the length (magnitude) of this vector.
#
def length; end
#
# Clamp the values of this vector between limits _lo_ and _hi_.
#
def clamp(lo, hi); end
#
# Return a new FXVec4f instance which is a normalized version
# of this one.
#
def normalize; end
#
# Return a new FXVec4f instance which is the lesser of this
# vector and _other_.
#
def lo(other); end
#
# Return a new FXVec4f instance which is the greater of this
# vector and _other_.
#
def hi(other); end
#
# Compute normalized plane equation ax + by + cz + d = 0.
#
def FXVec4f.plane(vec); end
#
# Compute normalized plane equation ax + by + cz + d = 0.
#
def FXVec4f.plane(vec3f, dist); end
#
# Compute normalized plane equation ax + by + cz + d = 0.
#
def FXVec4f.plane(vec3f, p3f); end
#
# Compute normalized plane equation ax + by + cz + d = 0.
#
def FXVec4f.plane(a, b, c); end
# Signed distance normalized plane and point
def distance(p); end
# Return +true+ if edge a-b crosses plane
def crosses?(a, b); end
end
end
|