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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? shading.cpp

?? 這本書是matlab經典書籍
?? CPP
?? 第 1 頁 / 共 2 頁
字號:
//
// MATLAB Compiler: 2.2
// Date: Tue Jun 25 10:54:12 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" "sglcpp" "-p" "-W"
// "main" "-L" "Cpp" "-t" "-T" "link:exe" "-h" "libmmfile.mlib" "-W" "mainhg"
// "libmwsglm.mlib" "exm110633_1" 
//
#include "shading.hpp"
#include "libmatlbm.hpp"
#include "libmmfile.hpp"

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 mwArray _mxarray0_ = mclInitializeString(132, _array1_);

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 mwArray _mxarray2_ = mclInitializeString(131, _array3_);
static mwArray _mxarray4_ = mclInitializeDouble(1.0);
static mwArray _mxarray5_ = mclInitializeDouble(2.0);

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 mwArray _mxarray6_ = mclInitializeString(38, _array7_);

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 mwArray _mxarray8_ = mclInitializeString(28, _array9_);

static mxChar _array11_[4] = { 't', 'y', 'p', 'e' };
static mwArray _mxarray10_ = mclInitializeString(4, _array11_);

static mxChar _array13_[4] = { 'a', 'x', 'e', 's' };
static mwArray _mxarray12_ = mclInitializeString(4, _array13_);

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 mwArray _mxarray14_ = mclInitializeString(46, _array15_);

static mxChar _array17_[5] = { 'c', 'o', 'l', 'o', 'r' };
static mwArray _mxarray16_ = mclInitializeString(5, _array17_);

static mxChar _array19_[4] = { 'n', 'o', 'n', 'e' };
static mwArray _mxarray18_ = mclInitializeString(4, _array19_);

static mxChar _array21_[7] = { 's', 'u', 'r', 'f', 'a', 'c', 'e' };
static mwArray _mxarray20_ = mclInitializeString(7, _array21_);

static mxChar _array23_[5] = { 'p', 'a', 't', 'c', 'h' };
static mwArray _mxarray22_ = mclInitializeString(5, _array23_);
static mwArray _mxarray24_ = mclInitializeDoubleVector(0, 0, (double *)NULL);

static mxChar _array26_[9] = { 'f', 'a', 'c', 'e', 'c', 'o', 'l', 'o', 'r' };
static mwArray _mxarray25_ = mclInitializeString(9, _array26_);

static mxChar _array28_[10] = { 't', 'e', 'x', 't', 'u',
                                'r', 'e', 'm', 'a', 'p' };
static mwArray _mxarray27_ = mclInitializeString(10, _array28_);

static mxChar _array30_[4] = { 'f', 'l', 'a', 't' };
static mwArray _mxarray29_ = mclInitializeString(4, _array30_);

static mxChar _array32_[9] = { 'e', 'd', 'g', 'e', 'c', 'o', 'l', 'o', 'r' };
static mwArray _mxarray31_ = mclInitializeString(9, _array32_);

static mxChar _array34_[6] = { 'i', 'n', 't', 'e', 'r', 'p' };
static mwArray _mxarray33_ = mclInitializeString(6, _array34_);

static mxChar _array36_[7] = { 'f', 'a', 'c', 'e', 't', 'e', 'd' };
static mwArray _mxarray35_ = mclInitializeString(7, _array36_);

static mxChar _array38_[5] = { 'b', 'l', 'a', 'c', 'k' };
static mwArray _mxarray37_ = mclInitializeString(5, _array38_);

void InitializeModule_shading() {
}

void TerminateModule_shading() {
}

static void Mshading(mwArray arg1, mwArray arg2);

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

//
// The function "shading" 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 shading(mwArray arg1, mwArray arg2) {
    Mshading(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[]) {
    MW_BEGIN_MLX();
    {
        mwArray mprhs[2];
        int i;
        if (nlhs > 0) {
            error(_mxarray0_);
        }
        if (nrhs > 2) {
            error(_mxarray2_);
        }
        for (i = 0; i < 2 && i < nrhs; ++i) {
            mprhs[i] = mwArray(prhs[i], 0);
        }
        for (; i < 2; ++i) {
            mprhs[i].MakeDIN();
        }
        Mshading(mprhs[0], mprhs[1]);
    }
    MW_END_MLX();
}

//
// 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(mwArray arg1, mwArray arg2) {
    mwLocalFunctionTable save_local_function_table_
      (&_local_function_table_shading);
    int nargin_(nargin(2, mwVarargin(arg1, arg2)));
    mwArray face(mclGetUninitializedArray());
    mwArray i(mclGetUninitializedArray());
    mwArray itext(mclGetUninitializedArray());
    mwArray isurf(mclGetUninitializedArray());
    mwArray imesh(mclGetUninitializedArray());
    mwArray kids(mclGetUninitializedArray());
    mwArray fc(mclGetUninitializedArray());
    mwArray type(mclGetUninitializedArray());
    mwArray ax(mclGetUninitializedArray());
    mwArray ans(mclGetUninitializedArray());
    //
    // %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));
    //
    error(mwVe(nargchk(_mxarray4_, _mxarray5_, nargin_)));
    //
    // if ischar(arg1)
    //
    if (tobool(mwVe(ischar(mwVa(arg1, "arg1"))))) {
        //
        // % string input (check for valid option later)
        // if nargin == 2
        //
        if (nargin_ == 2) {
            //
            // error('First argument must be an axes handle.')
            //
            error(_mxarray6_);
        //
        // end
        //
        }
        //
        // ax = gca;
        //
        ax = gca(mwArray::DIN);
        //
        // type = lower(arg1);
        //
        type = lower(mwVa(arg1, "arg1"));
    //
    // else
    //
    } else {
        //
        // % make sure non string is a scalar handle
        // if length(arg1) > 1
        //
        if (mclLengthInt(mwVa(arg1, "arg1")) > 1) {
            //
            // error('Axes handle must be a scalar');
            //
            error(_mxarray8_);
        //
        // end
        //
        }
        //
        // % handle must be a handle and axes handle
        // if ~ishandle(arg1) | ~strcmp(get(arg1, 'type'), 'axes')
        //
        {
            mwArray a_(~ mwVe(ishandle(mwVa(arg1, "arg1"))));
            if (tobool(a_)
                || tobool(
                     a_
                     | ~ mwVe(
                           strcmp(
                             mwVe(
                               Nget(
                                 1,
                                 mwVarargin(

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
精品国产乱码91久久久久久网站| 久久精品国产77777蜜臀| 亚洲chinese男男1069| 国产精品亚洲午夜一区二区三区| 91免费视频观看| 国产欧美日韩在线视频| 日本特黄久久久高潮| caoporn国产精品| 精品盗摄一区二区三区| 亚洲国产精品天堂| a4yy欧美一区二区三区| 精品动漫一区二区三区在线观看 | 欧美三级欧美一级| 国产精品美女久久福利网站| 久久av老司机精品网站导航| 欧美日韩在线免费视频| 亚洲女人****多毛耸耸8| 粉嫩av一区二区三区| 欧美xxxx在线观看| 日韩综合在线视频| 欧美日韩国产精品成人| 亚洲综合丝袜美腿| 在线欧美日韩精品| 一区二区三区四区蜜桃| 91热门视频在线观看| 国产精品美女一区二区| av福利精品导航| 中文字幕av不卡| 国产成人av福利| 中文字幕不卡一区| 成人激情av网| 亚洲欧美日韩在线| 91捆绑美女网站| 亚洲精品中文字幕乱码三区| 91免费看`日韩一区二区| 亚洲三级在线免费| 91成人在线观看喷潮| 亚洲小说欧美激情另类| 欧美日韩专区在线| 水野朝阳av一区二区三区| 欧美一级在线免费| 老司机精品视频线观看86| 久久久久综合网| 成a人片国产精品| 亚洲天堂a在线| 在线国产电影不卡| 首页综合国产亚洲丝袜| 欧美电影免费观看高清完整版在线观看| 麻豆91小视频| 久久久国产精品不卡| 波多野结衣视频一区| 曰韩精品一区二区| 91精品国产综合久久婷婷香蕉 | 亚洲日穴在线视频| 在线观看国产91| 免费高清在线视频一区·| 久久久国产一区二区三区四区小说| 国产一区二区三区免费播放| 亚洲欧洲成人精品av97| 欧美三级电影在线观看| 精品一区二区在线播放| 国产精品丝袜黑色高跟| 欧美日韩视频第一区| 国产高清精品久久久久| 亚洲午夜精品在线| 久久久久88色偷偷免费| 欧美在线视频日韩| 国产九色sp调教91| 亚洲一区在线视频| 久久精品在线观看| 欧美日韩在线直播| 成人激情开心网| 麻豆精品在线视频| 亚洲精品欧美综合四区| 日韩一级二级三级精品视频| 成人精品免费看| 免费久久99精品国产| 亚洲视频一二三区| 久久噜噜亚洲综合| 在线不卡欧美精品一区二区三区| 成人在线综合网| 日本欧美在线看| 亚洲一区免费观看| 国产人妖乱国产精品人妖| 8x8x8国产精品| 色婷婷综合在线| 成人免费毛片app| 美女网站一区二区| 亚洲精品中文在线| 国产精品福利电影一区二区三区四区 | 国产精品毛片久久久久久| 欧美一区二区视频网站| 91久久久免费一区二区| 国产成人av一区二区三区在线观看| 日日夜夜免费精品| 亚洲一区二区精品视频| 亚洲三级电影网站| 国产精品美女www爽爽爽| 国产亚洲一本大道中文在线| 日韩精品一区二区三区中文不卡 | 国产一区二区三区久久悠悠色av| 天天综合色天天| 一区二区视频免费在线观看| 国产精品美女久久久久久久网站| 久久综合五月天婷婷伊人| 制服丝袜av成人在线看| 欧美性色aⅴ视频一区日韩精品| 9人人澡人人爽人人精品| 国产成a人无v码亚洲福利| 精品无码三级在线观看视频| 蜜桃精品在线观看| 美女尤物国产一区| 久久丁香综合五月国产三级网站| 爽爽淫人综合网网站| 日韩精品亚洲一区| 日本不卡免费在线视频| 欧美aⅴ一区二区三区视频| 日本 国产 欧美色综合| 毛片基地黄久久久久久天堂| 石原莉奈在线亚洲二区| 日韩福利视频导航| 麻豆国产欧美一区二区三区| 久久精品999| 国产精品一区二区久久精品爱涩 | 欧美三级一区二区| 欧美日韩高清在线| 欧美一级精品大片| 久久久久久一二三区| 中文字幕免费不卡在线| 亚洲视频免费看| 午夜日韩在线观看| 激情综合五月天| 国产成人精品午夜视频免费| 99久久综合狠狠综合久久| 91官网在线观看| 日韩一区二区三区四区| 国产亚洲精品超碰| 亚洲丝袜另类动漫二区| 日韩电影在线一区二区三区| 久久99国产乱子伦精品免费| 成人精品一区二区三区四区 | 欧美网站大全在线观看| 欧美日韩不卡在线| 26uuu欧美| 亚洲免费av在线| 久久精品久久久精品美女| 国产宾馆实践打屁股91| 在线精品视频免费播放| 日韩欧美区一区二| 亚洲天天做日日做天天谢日日欢 | 精品福利二区三区| 亚洲天堂免费看| 久久国产综合精品| 色美美综合视频| 久久综合久久综合亚洲| 夜夜嗨av一区二区三区四季av| 日韩精品91亚洲二区在线观看| 国产一区二区不卡在线| 欧美日韩激情一区| 国产欧美日韩在线| 日日夜夜精品视频天天综合网| 成人免费三级在线| 日韩精品最新网址| 一区二区三区波多野结衣在线观看| 免费在线成人网| 91久久香蕉国产日韩欧美9色| 日韩精品在线一区| 一区二区在线观看免费视频播放| 久久不见久久见免费视频1| 在线观看亚洲一区| 亚洲国产岛国毛片在线| 六月丁香综合在线视频| 在线亚洲一区二区| 国产精品高清亚洲| 国产一区二区在线视频| 6080午夜不卡| 亚洲一二三专区| 99精品偷自拍| 国产精品丝袜在线| 国产一区二区视频在线| 欧美一区二区黄| 亚洲电影一级黄| 日本高清成人免费播放| 国产精品电影一区二区三区| 国产精品一区二区男女羞羞无遮挡 | 亚洲欧美一区二区三区孕妇| 国产一区二区三区免费| 欧美成人精品二区三区99精品| 亚洲综合色区另类av| 91美女视频网站| 国产精品乱码一区二三区小蝌蚪| 狠狠色丁香久久婷婷综合丁香| 在线电影国产精品| 亚洲成av人综合在线观看| 欧美调教femdomvk| 一区二区国产视频| 91在线一区二区| 亚洲激情男女视频| 欧美在线视频不卡| 亚洲国产三级在线|