亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? shading.c

?? 這本書是matlab經(jīng)典書籍
?? C
?? 第 1 頁 / 共 2 頁
字號:
/*
 * MATLAB Compiler: 2.2
 * Date: Tue Jun 25 10:53:59 2002
 * Arguments: "-B" "macro_default" "-O" "all" "-O" "fold_scalar_mxarrays:on"
 * "-O" "fold_non_scalar_mxarrays:on" "-O" "optimize_integer_for_loops:on" "-O"
 * "array_indexing:on" "-O" "optimize_conditionals:on" "-B" "sgl" "-m" "-W"
 * "main" "-L" "C" "-t" "-T" "link:exe" "-h" "libmmfile.mlib" "-W" "mainhg"
 * "libmwsglm.mlib" "exm110633_1" 
 */
#include "shading.h"
#include "libmatlbm.h"
#include "libmmfile.h"

static mxChar _array1_[132] = { 'R', 'u', 'n', '-', 't', 'i', 'm', 'e', ' ',
                                'E', 'r', 'r', 'o', 'r', ':', ' ', 'F', 'i',
                                'l', 'e', ':', ' ', 's', 'h', 'a', 'd', 'i',
                                'n', 'g', ' ', 'L', 'i', 'n', 'e', ':', ' ',
                                '1', ' ', 'C', 'o', 'l', 'u', 'm', 'n', ':',
                                ' ', '1', ' ', 'T', 'h', 'e', ' ', 'f', 'u',
                                'n', 'c', 't', 'i', 'o', 'n', ' ', '"', 's',
                                'h', 'a', 'd', 'i', 'n', 'g', '"', ' ', 'w',
                                'a', 's', ' ', 'c', 'a', 'l', 'l', 'e', 'd',
                                ' ', 'w', 'i', 't', 'h', ' ', 'm', 'o', 'r',
                                'e', ' ', 't', 'h', 'a', 'n', ' ', 't', 'h',
                                'e', ' ', 'd', 'e', 'c', 'l', 'a', 'r', 'e',
                                'd', ' ', 'n', 'u', 'm', 'b', 'e', 'r', ' ',
                                'o', 'f', ' ', 'o', 'u', 't', 'p', 'u', 't',
                                's', ' ', '(', '0', ')', '.' };
static mxArray * _mxarray0_;

static mxChar _array3_[131] = { 'R', 'u', 'n', '-', 't', 'i', 'm', 'e', ' ',
                                'E', 'r', 'r', 'o', 'r', ':', ' ', 'F', 'i',
                                'l', 'e', ':', ' ', 's', 'h', 'a', 'd', 'i',
                                'n', 'g', ' ', 'L', 'i', 'n', 'e', ':', ' ',
                                '1', ' ', 'C', 'o', 'l', 'u', 'm', 'n', ':',
                                ' ', '1', ' ', 'T', 'h', 'e', ' ', 'f', 'u',
                                'n', 'c', 't', 'i', 'o', 'n', ' ', '"', 's',
                                'h', 'a', 'd', 'i', 'n', 'g', '"', ' ', 'w',
                                'a', 's', ' ', 'c', 'a', 'l', 'l', 'e', 'd',
                                ' ', 'w', 'i', 't', 'h', ' ', 'm', 'o', 'r',
                                'e', ' ', 't', 'h', 'a', 'n', ' ', 't', 'h',
                                'e', ' ', 'd', 'e', 'c', 'l', 'a', 'r', 'e',
                                'd', ' ', 'n', 'u', 'm', 'b', 'e', 'r', ' ',
                                'o', 'f', ' ', 'i', 'n', 'p', 'u', 't', 's',
                                ' ', '(', '2', ')', '.' };
static mxArray * _mxarray2_;
static mxArray * _mxarray4_;
static mxArray * _mxarray5_;

static mxChar _array7_[38] = { 'F', 'i', 'r', 's', 't', ' ', 'a', 'r', 'g', 'u',
                               'm', 'e', 'n', 't', ' ', 'm', 'u', 's', 't', ' ',
                               'b', 'e', ' ', 'a', 'n', ' ', 'a', 'x', 'e', 's',
                               ' ', 'h', 'a', 'n', 'd', 'l', 'e', '.' };
static mxArray * _mxarray6_;

static mxChar _array9_[28] = { 'A', 'x', 'e', 's', ' ', 'h', 'a', 'n', 'd', 'l',
                               'e', ' ', 'm', 'u', 's', 't', ' ', 'b', 'e', ' ',
                               'a', ' ', 's', 'c', 'a', 'l', 'a', 'r' };
static mxArray * _mxarray8_;

static mxChar _array11_[4] = { 't', 'y', 'p', 'e' };
static mxArray * _mxarray10_;

static mxChar _array13_[4] = { 'a', 'x', 'e', 's' };
static mxArray * _mxarray12_;

static mxChar _array15_[46] = { 'S', 'h', 'a', 'd', 'i', 'n', 'g', ' ',
                                'm', 'e', 't', 'h', 'o', 'd', 's', ' ',
                                'a', 'r', 'e', ' ', 'f', 'l', 'a', 't',
                                ',', ' ', 'f', 'a', 'c', 'e', 't', 'e',
                                'd', ',', ' ', 'a', 'n', 'd', ' ', 'i',
                                'n', 't', 'e', 'r', 'p', '.' };
static mxArray * _mxarray14_;

static mxChar _array17_[5] = { 'c', 'o', 'l', 'o', 'r' };
static mxArray * _mxarray16_;

static mxChar _array19_[4] = { 'n', 'o', 'n', 'e' };
static mxArray * _mxarray18_;

static mxChar _array21_[7] = { 's', 'u', 'r', 'f', 'a', 'c', 'e' };
static mxArray * _mxarray20_;

static mxChar _array23_[5] = { 'p', 'a', 't', 'c', 'h' };
static mxArray * _mxarray22_;
static mxArray * _mxarray24_;

static mxChar _array26_[9] = { 'f', 'a', 'c', 'e', 'c', 'o', 'l', 'o', 'r' };
static mxArray * _mxarray25_;

static mxChar _array28_[10] = { 't', 'e', 'x', 't', 'u',
                                'r', 'e', 'm', 'a', 'p' };
static mxArray * _mxarray27_;

static mxChar _array30_[4] = { 'f', 'l', 'a', 't' };
static mxArray * _mxarray29_;

static mxChar _array32_[9] = { 'e', 'd', 'g', 'e', 'c', 'o', 'l', 'o', 'r' };
static mxArray * _mxarray31_;

static mxChar _array34_[6] = { 'i', 'n', 't', 'e', 'r', 'p' };
static mxArray * _mxarray33_;

static mxChar _array36_[7] = { 'f', 'a', 'c', 'e', 't', 'e', 'd' };
static mxArray * _mxarray35_;

static mxChar _array38_[5] = { 'b', 'l', 'a', 'c', 'k' };
static mxArray * _mxarray37_;

void InitializeModule_shading(void) {
    _mxarray0_ = mclInitializeString(132, _array1_);
    _mxarray2_ = mclInitializeString(131, _array3_);
    _mxarray4_ = mclInitializeDouble(1.0);
    _mxarray5_ = mclInitializeDouble(2.0);
    _mxarray6_ = mclInitializeString(38, _array7_);
    _mxarray8_ = mclInitializeString(28, _array9_);
    _mxarray10_ = mclInitializeString(4, _array11_);
    _mxarray12_ = mclInitializeString(4, _array13_);
    _mxarray14_ = mclInitializeString(46, _array15_);
    _mxarray16_ = mclInitializeString(5, _array17_);
    _mxarray18_ = mclInitializeString(4, _array19_);
    _mxarray20_ = mclInitializeString(7, _array21_);
    _mxarray22_ = mclInitializeString(5, _array23_);
    _mxarray24_ = mclInitializeDoubleVector(0, 0, (double *)NULL);
    _mxarray25_ = mclInitializeString(9, _array26_);
    _mxarray27_ = mclInitializeString(10, _array28_);
    _mxarray29_ = mclInitializeString(4, _array30_);
    _mxarray31_ = mclInitializeString(9, _array32_);
    _mxarray33_ = mclInitializeString(6, _array34_);
    _mxarray35_ = mclInitializeString(7, _array36_);
    _mxarray37_ = mclInitializeString(5, _array38_);
}

void TerminateModule_shading(void) {
    mxDestroyArray(_mxarray37_);
    mxDestroyArray(_mxarray35_);
    mxDestroyArray(_mxarray33_);
    mxDestroyArray(_mxarray31_);
    mxDestroyArray(_mxarray29_);
    mxDestroyArray(_mxarray27_);
    mxDestroyArray(_mxarray25_);
    mxDestroyArray(_mxarray24_);
    mxDestroyArray(_mxarray22_);
    mxDestroyArray(_mxarray20_);
    mxDestroyArray(_mxarray18_);
    mxDestroyArray(_mxarray16_);
    mxDestroyArray(_mxarray14_);
    mxDestroyArray(_mxarray12_);
    mxDestroyArray(_mxarray10_);
    mxDestroyArray(_mxarray8_);
    mxDestroyArray(_mxarray6_);
    mxDestroyArray(_mxarray5_);
    mxDestroyArray(_mxarray4_);
    mxDestroyArray(_mxarray2_);
    mxDestroyArray(_mxarray0_);
}

static void Mshading(mxArray * arg1, mxArray * arg2);

_mexLocalFunctionTable _local_function_table_shading
  = { 0, (mexFunctionTableEntry *)NULL };

/*
 * The function "mlfShading" contains the normal interface for the "shading"
 * M-function from file "d:\MATLAB6p1\toolbox\matlab\graph3d\shading.m" (lines
 * 1-102). This function processes any input arguments and passes them to the
 * implementation version of the function, appearing above.
 */
void mlfShading(mxArray * arg1, mxArray * arg2) {
    mlfEnterNewContext(0, 2, arg1, arg2);
    Mshading(arg1, arg2);
    mlfRestorePreviousContext(0, 2, arg1, arg2);
}

/*
 * The function "mlxShading" contains the feval interface for the "shading"
 * M-function from file "d:\MATLAB6p1\toolbox\matlab\graph3d\shading.m" (lines
 * 1-102). The feval function calls the implementation version of shading
 * through this function. This function processes any input arguments and
 * passes them to the implementation version of the function, appearing above.
 */
void mlxShading(int nlhs, mxArray * plhs[], int nrhs, mxArray * prhs[]) {
    mxArray * mprhs[2];
    int i;
    if (nlhs > 0) {
        mlfError(_mxarray0_);
    }
    if (nrhs > 2) {
        mlfError(_mxarray2_);
    }
    for (i = 0; i < 2 && i < nrhs; ++i) {
        mprhs[i] = prhs[i];
    }
    for (; i < 2; ++i) {
        mprhs[i] = NULL;
    }
    mlfEnterNewContext(0, 2, mprhs[0], mprhs[1]);
    Mshading(mprhs[0], mprhs[1]);
    mlfRestorePreviousContext(0, 2, mprhs[0], mprhs[1]);
}

/*
 * The function "Mshading" is the implementation version of the "shading"
 * M-function from file "d:\MATLAB6p1\toolbox\matlab\graph3d\shading.m" (lines
 * 1-102). It contains the actual compiled code for that M-function. It is a
 * static function and must only be called from one of the interface functions,
 * appearing below.
 */
/*
 * function shading(arg1, arg2)
 */
static void Mshading(mxArray * arg1, mxArray * arg2) {
    mexLocalFunctionTable save_local_function_table_
      = mclSetCurrentLocalFunctionTable(&_local_function_table_shading);
    int nargin_ = mclNargin(2, arg1, arg2, NULL);
    mxArray * face = mclGetUninitializedArray();
    mxArray * i = mclGetUninitializedArray();
    mxArray * itext = mclGetUninitializedArray();
    mxArray * isurf = mclGetUninitializedArray();
    mxArray * imesh = mclGetUninitializedArray();
    mxArray * kids = mclGetUninitializedArray();
    mxArray * fc = mclGetUninitializedArray();
    mxArray * type = mclGetUninitializedArray();
    mxArray * ax = mclGetUninitializedArray();
    mxArray * ans = mclGetUninitializedArray();
    mclCopyArray(&arg1);
    mclCopyArray(&arg2);
    /*
     * %SHADING Color shading mode.
     * %   SHADING controls the color shading of SURFACE and PATCH objects.
     * %   SURFACE and PATCH objects are created by the functions SURF, MESH,
     * %   PCOLOR, FILL, and FILL3. 
     * %
     * %   SHADING FLAT sets the shading of the current graph to flat.
     * %   SHADING INTERP sets the shading to interpolated.
     * %   SHADING FACETED sets the shading to faceted, which is the default.
     * %
     * %   Flat shading is piecewise constant; each mesh line segment or
     * %   surface patch has a constant color determined by the color value
     * %   at the end point of the segment or the corner of the patch which
     * %   has the smallest index or indices.
     * %
     * %   Interpolated shading, which is also known as Gouraud shading, is
     * %   piecewise bilinear; the color in each segment or patch varies linearly
     * %   and interpolates the end or corner values.
     * %
     * %   Faceted shading is flat shading with superimposed black mesh lines.
     * %   This is often the most effective and is the default.
     * %
     * %   SHADING(AX,...) uses axes AX instead of the current axes.
     * %
     * %   SHADING is an M-file that sets the EdgeColor and FaceColor properties
     * %   of all SURFACE objects in the current axes. It sets them to the
     * %   correct values that depend upon whether the SURFACE objects are
     * %   representing meshes or surfaces.
     * %
     * %   See also HIDDEN, SURF, MESH, PCOLOR, FILL, FILL3, SURFACE, PATCH.
     * 
     * %   Copyright 1984-2001 The MathWorks, Inc. 
     * %   $Revision: 5.16 $  $Date: 2001/04/15 11:58:56 $
     * 
     * error(nargchk(1,2,nargin));
     */
    mlfError(mclVe(mlfNargchk(_mxarray4_, _mxarray5_, mlfScalar(nargin_))));
    /*
     * if ischar(arg1)
     */
    if (mlfTobool(mclVe(mlfIschar(mclVa(arg1, "arg1"))))) {
        /*
         * % string input (check for valid option later)
         * if nargin == 2
         */
        if (nargin_ == 2) {
            /*
             * error('First argument must be an axes handle.')
             */
            mlfError(_mxarray6_);
        /*
         * end
         */
        }
        /*
         * ax = gca;
         */
        mlfAssign(&ax, mlfGca(NULL));
        /*
         * type = lower(arg1);
         */
        mlfAssign(&type, mlfLower(mclVa(arg1, "arg1")));
    /*
     * else
     */
    } else {
        /*
         * % make sure non string is a scalar handle
         * if length(arg1) > 1
         */
        if (mclLengthInt(mclVa(arg1, "arg1")) > 1) {
            /*
             * error('Axes handle must be a scalar');
             */
            mlfError(_mxarray8_);
        /*
         * end
         */
        }
        /*
         * % handle must be a handle and axes handle
         * if ~ishandle(arg1) | ~strcmp(get(arg1, 'type'), 'axes')
         */
        {
            mxArray * a_
              = mclInitialize(mclNot(mclVe(mlfIshandle(mclVa(arg1, "arg1")))));
            if (mlfTobool(a_)
                || mlfTobool(
                     mclOr(

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲一区二区高清| 国产精品成人一区二区艾草| 日日摸夜夜添夜夜添国产精品| 91久久精品一区二区三区| 一区二区三区四区高清精品免费观看 | 精品国产露脸精彩对白| 国内精品嫩模私拍在线| 久久久久久久久久久黄色| 国产99久久久国产精品免费看| 中文av字幕一区| 欧洲一区二区av| 日本特黄久久久高潮| 久久精品在这里| 色综合久久久网| 婷婷丁香久久五月婷婷| 精品sm捆绑视频| 成人国产亚洲欧美成人综合网 | 亚洲成人av资源| 欧美大片在线观看一区| 丁香婷婷综合色啪| 亚洲免费观看高清完整版在线观看| 精品视频在线视频| 精品一区二区三区在线视频| 亚洲国产wwwccc36天堂| 欧美电影免费提供在线观看| 成人av午夜影院| 三级欧美韩日大片在线看| 久久久久成人黄色影片| 欧美亚洲国产一卡| 国产一二精品视频| 亚洲午夜av在线| 国产视频一区二区在线| 欧美午夜免费电影| 国产精品538一区二区在线| 亚洲黄一区二区三区| 久久久久久亚洲综合影院红桃| 日本高清不卡aⅴ免费网站| 精品一区二区三区免费毛片爱| 亚洲欧美在线aaa| 日韩精品一区二区三区三区免费| 91麻豆国产在线观看| 毛片一区二区三区| 亚洲美女精品一区| 国产日韩综合av| 7777精品伊人久久久大香线蕉最新版 | 国产精品毛片无遮挡高清| 91麻豆精品国产自产在线观看一区 | 国产精品美女久久久久久2018| 欧美高清精品3d| 日本精品一区二区三区四区的功能| 美国十次综合导航| 亚洲国产综合91精品麻豆| 国产精品美女久久久久高潮| 精品国产制服丝袜高跟| 欧美美女一区二区三区| 欧美性感一类影片在线播放| aaa国产一区| 成人免费视频app| 国产自产视频一区二区三区| 婷婷久久综合九色综合伊人色| 亚洲伦理在线精品| 国产精品免费看片| 亚洲国产成人午夜在线一区| 26uuu亚洲| 欧美mv和日韩mv国产网站| 9191精品国产综合久久久久久| 欧美丝袜自拍制服另类| 色综合天天在线| 99精品久久只有精品| 成人美女视频在线看| 国产精品69毛片高清亚洲| 国产综合色视频| 精品一区二区在线免费观看| 麻豆久久久久久| 久草在线在线精品观看| 轻轻草成人在线| 美女网站色91| 麻豆91精品视频| 久久精品国产澳门| 久久国产精品免费| 国产黄色精品网站| 国产成人精品影视| 成人一区二区三区在线观看| 丁香桃色午夜亚洲一区二区三区| 欧美喷潮久久久xxxxx| 91麻豆精品国产91久久久更新时间| 欧美久久久久中文字幕| 欧美一卡在线观看| 欧美精品一区二区三区在线播放| 26uuu色噜噜精品一区二区| 国产日韩一级二级三级| 最新久久zyz资源站| 亚洲一区二区三区国产| 日韩精品亚洲专区| 国内精品视频666| 成人国产精品视频| 色94色欧美sute亚洲线路一久| 欧美日韩亚洲不卡| 日韩欧美一级片| 国产欧美日韩在线看| 国产精品国产三级国产普通话99 | 欧美日韩一本到| 欧美变态tickle挠乳网站| 国产午夜精品一区二区| 最新日韩av在线| 日本成人在线网站| 高清国产午夜精品久久久久久| 色欧美乱欧美15图片| 日韩欧美色电影| 国产精品久久久久国产精品日日| 亚洲一区二区偷拍精品| 国内久久精品视频| 色哟哟精品一区| 日韩欧美一区二区久久婷婷| 国产精品视频麻豆| 丝袜亚洲另类欧美| 国产高清不卡二三区| 91福利在线播放| 久久影院电视剧免费观看| 亚洲美女电影在线| 国产乱淫av一区二区三区| 色美美综合视频| 久久久久久影视| 亚洲成人综合视频| 不卡一区二区三区四区| 欧美成人三级在线| 亚洲永久免费视频| 豆国产96在线|亚洲| 日韩一区二区三区免费观看| 亚洲色图制服丝袜| 国产乱码字幕精品高清av | 欧美一区二区三区不卡| 亚洲视频一区在线观看| 久久国产福利国产秒拍| 91在线视频观看| 国产日韩亚洲欧美综合| 三级影片在线观看欧美日韩一区二区 | 国产剧情av麻豆香蕉精品| 日本二三区不卡| 国产精品久久三| 韩日av一区二区| 91精品国产色综合久久不卡电影| 亚洲婷婷综合色高清在线| 国产成人免费视| 精品国内二区三区| 视频一区二区中文字幕| 在线观看三级视频欧美| 国产精品久久久久久久久图文区| 97精品久久久午夜一区二区三区| 日韩欧美国产电影| 奇米一区二区三区av| 欧美伦理电影网| 亚洲成a人片在线不卡一二三区| 色综合欧美在线视频区| 亚洲日本va午夜在线电影| 成人开心网精品视频| 国产亚洲人成网站| 国产一区二区不卡老阿姨| 精品国产成人系列| 国产原创一区二区三区| 久久这里都是精品| 国产精品综合二区| 日本一区二区三区dvd视频在线| 国模少妇一区二区三区| 欧美精品一区二区三区蜜桃| 黄一区二区三区| 国产欧美在线观看一区| 成人亚洲一区二区一| 中文字幕一区日韩精品欧美| 99精品一区二区三区| 一区二区在线电影| 在线观看日韩国产| 视频精品一区二区| 91精品国产乱码久久蜜臀| 五月天欧美精品| 欧美色图在线观看| 亚洲精品视频免费看| 欧美亚洲一区二区在线| 亚洲乱码国产乱码精品精小说 | 日本高清无吗v一区| 椎名由奈av一区二区三区| 播五月开心婷婷综合| 亚洲人成精品久久久久| 成人毛片视频在线观看| 国产精品欧美一区二区三区| 风流少妇一区二区| 亚洲最新视频在线观看| 成人av资源在线| 最新不卡av在线| 99久久久免费精品国产一区二区| 国产视频911| 波多野洁衣一区| 中文字幕精品在线不卡| 欧美性猛片aaaaaaa做受| 亚瑟在线精品视频| 日韩欧美中文一区| 成人av在线网| 一区二区三区中文在线观看| 欧美日韩一区三区四区| 国产精品视频yy9299一区|