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)
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)
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)
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)
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)