guRotateRPYF

guRotateRPYF [Function]

Function

guRotateRPYF

Creates a rotation modeling matrix (floating point)

Syntax

#include <ultra64.h>        /* gu.h */
void guRotateRPYF(float mf, float r, float p, float h);

Arguments

mf
The matrix resulting from the calculations
r
Angle of rotation of roll (in degrees, x-axis)
p
Angle of rotation of pitch (in degrees, y-axis)
h
Angle of rotation of heading, or yaw (in degrees, z-axis)

None.

Description

Returns to mf a modeling matrix rotated according to (r, p, y). When this function is called, the result is the creation of the following kind of modeling matrix: Fixed point is handled with the guRotateRPY function.

Note

An angle with a positive value represents counter-clockwise rotation. Be careful about the corresponding axis and the order of rotation.
{"ft_lang_label":"__label__en","ft_lang_prob":0.76073587,"math_prob":0.9668911,"size":676,"snap":"2019-43-2019-47","text_gpt3_token_len":170,"char_repetition_ratio":0.14434524,"word_repetition_ratio":0.0,"special_character_ratio":0.22189349,"punctuation_ratio":0.20472442,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9870837,"pos_list":[0,1,2],"im_url_duplicate_count":[null,1,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2019-10-18T08:36:11Z\",\"WARC-Record-ID\":\"<urn:uuid:f6ee98b4-02cf-4920-8942-90b0509b77a2>\",\"Content-Length\":\"2501\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:a85ac3c7-c674-474b-af68-737101137ee9>\",\"WARC-Concurrent-To\":\"<urn:uuid:32be6dc4-af54-4f76-84bb-6875af717763>\",\"WARC-IP-Address\":\"148.251.139.228\",\"WARC-Target-URI\":\"http://n64devkit.square7.ch/n64man/gu/guRotateRPYF.htm\",\"WARC-Payload-Digest\":\"sha1:QE5BATGZ2OWQFYKAUHUAKEEWG3PG4M5I\",\"WARC-Block-Digest\":\"sha1:25QEB4K4LNHLWNWDCGIACQFNGOKDGLWA\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2019/CC-MAIN-2019-43/CC-MAIN-2019-43_segments_1570986679439.48_warc_CC-MAIN-20191018081630-20191018105130-00123.warc.gz\"}"}