N64® Functions Menu
|
al - Audio Library Functions
gDP - DP GBI Macros
gdSP - General GBI Macros
gSP - SP GBI Macros
gt - Turbo Microcode RDP
gu - Graphics Utilities
Math - Math Functions
nuSys - NuSystem
os - N64 Operating System
sp - Sprite Library Functions
uh - Host to Target IO
64DD - N64 Disk Drive
|
|
guPosition
Syntax
#include "gu.h"
void guPosition(Mtx *m,
float r, float p,
float h, float s,
float x, float y,
float z);
Arguments
- m is the resulting 4x4 matrix
- r, p, h specifies the rotation (r=roll p=pitch h=heading(yaw))
- s is the scale by factor s
- x, y, z specifies the translation value along the x, y, z axis
Explanation
It computes and returns a 4x4 fixed-point modeling matrix (m) that locates an
object at position x,y,z with an orientation determined by r,p,h.
For a detailed description of the fixed-point matrix format, see gsPMatrix.
See Also
guPositionF
guRotate
guScale
guAlign
gSPMatrix
guTranslate
|
Nintendo® Confidential
Warning: all information in this document is confidential and covered by a non-disclosure agreement. You are responsible for keeping this information confidential and protected. Nintendo will vigorously enforce this responsibility.
Copyright © 1998
Nintendo of America Inc. All rights reserved Nintendo and N64 are registered trademarks of Nintendo
Last Updated April, 1999
|
|