Main Page | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Namespace Members | Compound Members | File Members

# Lamp::Math3D Class Reference

3D数学ヘッダ More...

`#include <Math3D.h>`

List of all members.

## Static Public Member Functions
Vector3 | calculateNormal (const Vector3 &vertex0, const Vector3 &vertex1, const Vector3 &vertex2)
| 法線の計算
Vector3 | lookAtZ (const Vector3 &target)
| Zルックアット.

## Detailed Description

3D数学ヘッダ

Definition at line 36 of file Math3D.h.

## Member Function Documentation

Vector3 Lamp::Math3D::calculateNormal | ( | const Vector3 & | vertex0,
|  | const Vector3 & | vertex1,
|  | const Vector3 & | vertex2
| ) | `[static]`

  | 法線の計算 Parameters:
  vertex0 | 頂点0
  vertex1 | 頂点1
  vertex2 | 頂点2
Returns: 法線 Definition at line 32 of file Math3D.cpp. References Lamp::Vector3::crossProduct(), and Lamp::Vector3::normalize().

Vector3 Lamp::Math3D::lookAtZ | ( | const Vector3 & | target | ) | `[static]`

  | Zルックアット. Parameters:
  target | Zが見る目標
Returns: XYZ回転 Definition at line 41 of file Math3D.cpp. References Lamp::Vector3::normalize(), Lamp::Vector3::x, Lamp::Vector3::y, and Lamp::Vector3::z.

The documentation for this class was generated from the following files:

- Math3D.h
- Math3D.cpp