Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

Matrix4.C File Reference

#include <math.h>
#include <string.h>
#include <stdio.h>
#include "Matrix4.h"
#include "utilities.h"

Go to the source code of this file.

Defines

#define MATSWAP(a, b)   {temp=(a);(a)=(b);(b)=temp;}

Functions

void trans_from_rotate (const float mat3[9], Matrix4 *mat4)
 Transform 3x3 into 4x4 matrix:. More...

void print_Matrix4 (const Matrix4 *mat4)
 Print formatted matrix. More...


Define Documentation

#define MATSWAP a,
     {temp=(a);(a)=(b);(b)=temp;}
 

Definition at line 135 of file Matrix4.C.

Referenced by Matrix4::inverse.


Function Documentation

void print_Matrix4 const Matrix4   mat4
 

Print formatted matrix.

Definition at line 407 of file Matrix4.C.

References Matrix4::mat.

void trans_from_rotate const float    mat3[9],
Matrix4   mat4
 

Transform 3x3 into 4x4 matrix:.

Definition at line 397 of file Matrix4.C.

References Matrix4::mat.


Generated on Thu Mar 28 02:44:39 2024 for VMD (current) by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002