Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

cross_product(3alleg4) [osx man page]

cross_product(3alleg4)						  Allegro manual					    cross_product(3alleg4)

NAME
cross_product, cross_product_f - Calculates the cross product. Allegro game programming library. SYNOPSIS
#include <allegro.h> void cross_product(fixed x1, y1, z1, x2, y2, z2, *xout, *yout, *zout); void cross_product_f(float x1, y1, z1, x2, y2, z2, *xout, *yout, *zout); DESCRIPTION
Calculates the cross product (x1, y1, z1) x (x2, y2, z2), storing the result in (*xout, *yout, *zout). The cross product is perpendicular to both of the input vectors, so it can be used to generate polygon normals. SEE ALSO
dot_product(3alleg4), polygon_z_normal(3alleg4), normalize_vector(3alleg4), exstars(3alleg4) Allegro version 4.4.2 cross_product(3alleg4)

Check Out this Related Man Page

exstars(3alleg4)						  Allegro manual						  exstars(3alleg4)

NAME
exstars - 3d starfield and lightsourced spaceship. Allegro game programming library. SYNOPSIS
#include <allegro.h> Example exstars DESCRIPTION
This program draws a 3D star field (depth-cued) and a polygon starship (controllable with the keyboard cursor keys), using the Allegro math functions. SEE ALSO
BITMAP(3alleg4), END_OF_MAIN(3alleg4), MATRIX(3alleg4), PALETTE(3alleg4), SCREEN_H(3alleg4), SCREEN_W(3alleg4), allegro_error(3alleg4), allegro_init(3alleg4), allegro_message(3alleg4), apply_matrix(3alleg4), blit(3alleg4), clear_bitmap(3alleg4), create_bitmap(3alleg4), cross_product(3alleg4), destroy_bitmap(3alleg4), dot_product(3alleg4), fixed(3alleg4), fixmul(3alleg4), fixtof(3alleg4), fixtoi(3alleg4), font(3alleg4), get_rotation_matrix(3alleg4), get_transformation_matrix(3alleg4), get_translation_matrix(3alleg4), install_key- board(3alleg4), install_timer(3alleg4), itofix(3alleg4), key(3alleg4), normalize_vector(3alleg4), palette_color(3alleg4), persp_project(3alleg4), poll_keyboard(3alleg4), putpixel(3alleg4), rectfill(3alleg4), screen(3alleg4), set_gfx_mode(3alleg4), set_pal- ette(3alleg4), set_projection_viewport(3alleg4), textout_centre_ex(3alleg4), textprintf_centre_ex(3alleg4), triangle(3alleg4), vsync(3alleg4) Allegro version 4.4.2 exstars(3alleg4)
Man Page

5 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Problem in extracting vector data

Hi, Currently I have two files; A and B. File A has below data:- -3 + <1 2 3 4 5 6 7 8 1 2 > - 1] -2 + <8 8 3 4 0 3 7 9 1 3 > - 1] -1 + <3 7 3 4 8 2 7 2 1 2 > - 1] -3 + <2 2 3 4 3 1 7 8 8 2 > - 1] and File B has below data:- <9 1 1 4 2 6 3 8 8 9 > From these two files, I... (2 Replies)
Discussion started by: ahjiefreak
2 Replies

2. Shell Programming and Scripting

Need Regular expression

Hi, I want to find the records using grep with following conditions. one field position at 26 and having length 2 and values of 21,24,31,34 or another field position at 28 and length 2 of values 21,224,31,34 I wrote it like below, But I want this search using grep, can any one provide?... (4 Replies)
Discussion started by: svenkatareddy
4 Replies

3. Shell Programming and Scripting

AWK code for finding distances between atoms in two different files

Hi:) I have two separate data files (.xyz) type and I want to see distances between the coordinates of atoms of the two files. For example:- My first files contains 1 1 1 11.50910000 5.17730000 16.49360000 3 1 2 11.21790000 6.36062000 15.60660000 6 1 2 ... (4 Replies)
Discussion started by: ananyob
4 Replies

4. Programming

FORTRAN Generic Operator (^)

I am implementing the cross product of two vectors using ^, however I am getting an error.Not aware how the problem can be resolved. Here is the code Interface Operator (^) Module Procedure vector_cross_product End Interface Operator (^) Contains Function vector_cross_product... (1 Reply)
Discussion started by: kristinu
1 Replies

5. Shell Programming and Scripting

Joining files using awk not extracting all columns from File 2

Hello All I'm joining two files using Awk by Left outer join on the file 1 File 1 1 AA 2 BB 3 CC 4 DD File 2 1 IND 100 200 300 2 AUS 400 500 600 5 USA 700 800 900 (18 Replies)
Discussion started by: venkat_reddy
18 Replies