
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
|
 |
guPositionF
Syntax
#include "gu.h"
void guPositionF(float mf[4][4],
float r, float p,
float h, float s,
float x, float y, float z);
Arguments
- m is the resulting 4x4 matrix
- r, p, h specify the rotation (r=roll p=pitch h=heading(yaw))
- s is the scale by factor s
- x, y, z specify the translation value along the x, y, z axis
Explanation
It computes and returns a 4x4 floating-point modeling matrix (m) that locates an
object at position x,y,z with an orientation determined by r,p,h.
See Also
guPosition
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
|
|