代码搜索结果
找到约 5,548 项符合
Camera 的代码
camera.cpp
/* Copyright (c) 2007 Massachusetts Institute of Technology
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of
* this software and associated documentation files (t
camera.h
/* Copyright (c) 2007 Massachusetts Institute of Technology
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of
* this software and associated documentation files (t
camera.cpp
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//
// Use of this sample source code is subject to the terms of the Microsoft
// license agreement under which you licensed thi
camera.cpp
//***********************************************************************//
// //
// - "Talk to me like I'm a 3 year old!" Programming Lessons - //
//
camera.h
#ifndef _CAMERA_H
#define _CAMERA_H
// This is our camera class
class CCamera {
public:
// Our camera constructor
CCamera();
// These are are data access functions for our camera's
camera.cc
//Camera.cc
#include "Camera.h"
Camera::Camera(Enum CType)
{
int i;
Type=CType;
KeepMatrix=true;
for(i=0; i
camera.h
//Camera.h
#ifndef CAMERA_H
#define CAMERA_H
#include "Node.h"
class Camera: public Node
{
public:
Camera(Enum CType);
void Render();
void SetValuev(Enum PName, float *v);
void SetValue(En
camera.cs
using System;
using System.Collections;
using Microsoft.DirectX;
using Microsoft.DirectX.Direct3D;
namespace GameEngine
{
///
/// Summary description for Camera.
///
camera.h
// window system independent camera view code
typedef enum
{
cd_wire,
cd_solid,
cd_texture,
cd_light,
cd_blend
} camera_draw_mode;
typedef struct
{
int width, height;
qboo