16dc85575000127630489b407c50a4b3ea87c9acbKeith Whitwell/**
26dc85575000127630489b407c50a4b3ea87c9acbKeith Whitwell * \file clip.h
36dc85575000127630489b407c50a4b3ea87c9acbKeith Whitwell */
4afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
5afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg/*
6afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg * Mesa 3-D graphics library
722144ab7552f0799bcfca506bf4ffa7f70a06649Gareth Hughes * Version:  3.5
85e3bc0c2a2bcdf59949410f94c9b705fc1281ce8Jouk Jansen *
922144ab7552f0799bcfca506bf4ffa7f70a06649Gareth Hughes * Copyright (C) 1999-2001  Brian Paul   All Rights Reserved.
105e3bc0c2a2bcdf59949410f94c9b705fc1281ce8Jouk Jansen *
11afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg * Permission is hereby granted, free of charge, to any person obtaining a
12afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg * copy of this software and associated documentation files (the "Software"),
13afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg * to deal in the Software without restriction, including without limitation
14afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg * the rights to use, copy, modify, merge, publish, distribute, sublicense,
15afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg * and/or sell copies of the Software, and to permit persons to whom the
16afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg * Software is furnished to do so, subject to the following conditions:
175e3bc0c2a2bcdf59949410f94c9b705fc1281ce8Jouk Jansen *
18afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg * The above copyright notice and this permission notice shall be included
19afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg * in all copies or substantial portions of the Software.
205e3bc0c2a2bcdf59949410f94c9b705fc1281ce8Jouk Jansen *
21afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
22afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
23afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
24afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg * BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
25afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg * AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
26afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
27afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg */
28afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
29afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
30afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
31afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg#ifndef CLIP_H
32afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg#define CLIP_H
33afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
345264615b52d0ddf3509078d3518588c70005b00cVinson Lee#include "glheader.h"
35afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
36ec4a21b0e21e8c706f26db5308fb267b6979b631Brian Paulstruct gl_context;
37ec4a21b0e21e8c706f26db5308fb267b6979b631Brian Paul
38ec4a21b0e21e8c706f26db5308fb267b6979b631Brian Paulextern void
39ec4a21b0e21e8c706f26db5308fb267b6979b631Brian Paul_mesa_update_clip_plane(struct gl_context *ctx, GLuint plane);
40ec4a21b0e21e8c706f26db5308fb267b6979b631Brian Paul
41c40d1dd62dd9bcbb97128e37a75d991a8d3b2d8cKendall Bennettextern void GLAPIENTRY
42c40d1dd62dd9bcbb97128e37a75d991a8d3b2d8cKendall Bennett_mesa_ClipPlane( GLenum plane, const GLdouble *equation );
43afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
44c40d1dd62dd9bcbb97128e37a75d991a8d3b2d8cKendall Bennettextern void GLAPIENTRY
45c40d1dd62dd9bcbb97128e37a75d991a8d3b2d8cKendall Bennett_mesa_GetClipPlane( GLenum plane, GLdouble *equation );
46afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
47afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg#endif
48