Many of the designations used by manufacturers and sellers to distinguish their products are claimed as trademarks. Where those designations appear in this book, and Addison-Wesley was aware of a trademark claim, the designations have been printed in initial capital letters or all capital letters.
The author and publisher have taken care in preparation of this book, but make no expressed or implied warranty of any kind and assume no responsibility for errors or omissions. No liability is assumed for incidental or consequential damages in connection with or arising out of the use of the information or programs contained herein.
Library of Congress Cataloging-in-Publication Data
Fosner, Ron. OpenGL programming for Windows 95 and Windows NT / Ron Fosner. p. cm. Includes bibliographical references and index. ISBN 0–201–40709–4 1. Computer graphics. 2. OpenGL. 3. Three-dimensional display systems. 4. Microsoft Windows (Computer file) 5. Microsoft Windows NT. I. Title. T385.F663 1996 006.6—dc20 96–20193 CIP
Copyright © 1997 by Ron Fosner
A-W Developers Press is a division of Addison Wesley Longman, Inc.
All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form or by any means, electronic, mechanical, photocopying, recording, or otherwise, without the prior written permission of the publisher. Printed in the United States of America. Published simultaneously in Canada.
Sponsoring Editor: Mary TreselerProject Manager: John FullerProduction Assistant: Melissa LimaCover design: Jean SealSet in 10-point Palatino by A&B Typesetters, Inc.
1 2 3 4 5 6 7 8 9 -MA- 00999897First printing, October 1996
Addison-Wesley books are available for bulk purchases by corporations, institutions, and other organizations. For more information please contact the Corporate, Government, and Special Sales Department at (800) 238-9682.
Find A-W Developers Press on the World Wide Web at: http://www.aw.com/devpress/