Object-oriented languages
define objects (types of things) that know how to perform methods (specific actions).
Functional languages treat programming problems like mathematical relationships.
Ruby is flexible, meaning that you can program in any of these styles however, it is
primarily object oriented, with some strong functional influence. This book focuses
slightly more on the functional aspects of Ruby than some other books.
Will perform 3D Gaussian quadrature over a user-defined volume. The volume is defined by the user with function definitions entered in the appropriate spaces provided on the GUI. The user can change the number of Gauss points to use.
Function inputs need not accept vector args.
C51源程序集錦 This a demo program showing a way to perform simultaneous RS-232
transmit and receive using only one hardware timer.
The transmit and receive routines divide each bit time into 4 slices to
allow synchronizing to incoming data that may be out of synch with outgoing
data.
This sample is a simple example on how to perform a glow effect by rendering into
an arbitrary size Frame Buffer Object (FBO).
The Glow effect is performed on a specific part of the screen and can be done only
on specific objects of the scene.
You can imagine using such a postprocessing effect in CAD/DCC to emphasize
some items from a selection or picking for example.
A simple object to store a color and perform Hex/RGB conversions.
methods included
ColorSetRGB - ColorGetHex
RGBToHex(r, g, b)
hexToRGB(hex)
ColorBlend(colorFrom, colorTo)
ColorBlendGetColor(alpha)
ColorBlendToString()