代码搜索结果
找到约 5,548 项符合
Camera 的代码
camera.h
/*************************************************************************
* This head file is for 3D scene script. We will define a scene class *
* with some light and camera and models.
camera.h
/*************************************************************************
* This head file is for 3D scene script. We will define a scene class *
* with some light and camera and models.
camera.cpp
#include "stdafx.h"
#include
#include
#include "camera.h"
//-------------------------------------------------------------
// For Camera class
//-----------------------
camera.cpp
#include "camera.h"
CAMERA::CAMERA()
{
fEyeX = 100.0f;
fEyeY = 100.0f;
fEyeZ = 81.65f;
fRefX = 0.0f;
fRefY = 0.0f;
fRefZ = 0.0f;
InitPosition(fEyeX , fEyeY , fEyeZ , fRefX , fRef
camera.h
#include "graph.h"
#ifndef TAG_CAMERA
#define TAG_CAMERA
#define MOVE_LEFT 1
#define MOVE_RIGHT 2
#define MOVE_UP 3
#define MOVE_DOWN 4
#define ROTATE_VEER 5
#
camera.h
#ifndef __CAMERA_H
#define __CAMERA_H
#define WIN32_LEAN_AND_MEAN
#define WIN32_EXTRA_LEAN
#include
#include
#include
#include "vector.h"
class COb