Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

normalize_vector(3alleg4) [opendarwin man page]

normalize_vector(3alleg4)					  Allegro manual					 normalize_vector(3alleg4)

normalize_vector, normalize_vector_f - Converts the vector to a unit vector. Allegro game programming library. SYNOPSIS
#include <allegro.h> void normalize_vector(fixed *x, fixed *y, fixed *z); void normalize_vector_f(float *x, float *y, float *z); DESCRIPTION
Converts the vector (*x, *y, *z) to a unit vector. This points in the same direction as the original vector, but has a length of one. SEE ALSO
vector_length(3alleg4), dot_product(3alleg4), cross_product(3alleg4), exstars(3alleg4) Allegro version 4.4.2 normalize_vector(3alleg4)

Check Out this Related Man Page

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

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

2 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Shopt -s histappend

What is the point of this? Whenever I close my shell it appends to the history file without adding this. I have never seen it overwrite my history file. # When the shell exits, append to the history file instead of overwriting it shopt -s histappend (3 Replies)
Discussion started by: cokedude
3 Replies

2. OS X (Apple)

Undeletable file

Greetings, I'm trying to delete a file with a weird name from within Terminal on a Mac. It's a very old file (1992) with null characters in the name: ␀␀Word Finder® Plus™. Here are some examples of what I've tried: 12FX009:5 dpontius$ ls ␀␀Word Finder® Plus™ 12FX009:5 dpontius$ rm... (29 Replies)
Discussion started by: dpontius
29 Replies