代码搜索结果

找到约 5,548 项符合 Camera 的代码

camera.cpp

#include "camera.h" Camera::Camera() { _cameraType = AIRCRAFT; _pos = D3DXVECTOR3(0.0f, 0.0f, 0.0f); _right = D3DXVECTOR3(1.0f, 0.0f, 0.0f); _up = D3DXVECTOR3(0.0f, 1.0f, 0.0f); _

camera.h

////////////////////////////////////////////////////////////////////////////////////////////////// // // File: camera.h // // Author: Frank Luna (C) All Rights Reserved // // System: AMD Athlo

camera.cpp

// camera.cpp: implementation of the camera class. // ////////////////////////////////////////////////////////////////////// #include "camera.h" ///////////////////////////////////////////////

camera.h

#ifndef _CAMERA_H #define _CAMERA_H #include "init.h" #include "Matrix.h" #define ROTATE_WALK 1 #define ROTATE_WALK_2 2 #define ROTATE_FLY 3 #define ROTATE_ABOUT_POINT 256 #define M

camera.cpp

// camera.cpp: implementation of the camera class. // ////////////////////////////////////////////////////////////////////// #include "camera.h" ///////////////////////////////////////////////

camera.h

#ifndef _CAMERA_H #define _CAMERA_H #include "init.h" #include "Matrix.h" #define ROTATE_WALK 1 #define ROTATE_WALK_2 2 #define ROTATE_FLY 3 #define ROTATE_ABOUT_POINT 256 #define M

camera.cpp

#include "camera.h" void Camera::Normalise(XYZ *p) { float length; length = (float) sqrt(p->x * p->x + p->y * p->y + p->z * p->z); if (length != 0) { p->x /= length; p->y /= length;

camera.h

#ifndef _CAMERA_H #define _CAMERA_H #include "init.h" #include // ----------------------- #include "bitmap_font.h" // kvoli vypisovaniu vektorov // ---------------------- #define