亚洲欧美第一页_禁久久精品乱码_粉嫩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一区二区三区免费野_久草精品视频
中文天堂在线一区| 麻豆成人久久精品二区三区红| 欧美日韩在线三级| 国产一区在线观看视频| 亚洲一二三四久久| 国产三级一区二区三区| 欧美日韩精品免费观看视频| 国产精品一区免费视频| 首页国产丝袜综合| 亚洲欧洲三级电影| 久久亚洲免费视频| 日韩网站在线看片你懂的| 欧美视频精品在线观看| 不卡的av电影| 国产老妇另类xxxxx| 蜜桃一区二区三区四区| 一区二区三区四区av| 日本一二三不卡| 久久免费看少妇高潮| 日韩一区国产二区欧美三区| 91搞黄在线观看| 色国产综合视频| 97久久精品人人做人人爽| 国产iv一区二区三区| 国产最新精品免费| 韩国视频一区二区| 久久国产精品72免费观看| 午夜精品一区二区三区免费视频 | 一区二区激情视频| 中文字幕一区二区三区不卡在线| 久久精品亚洲麻豆av一区二区| 日韩欧美卡一卡二| 欧美不卡一区二区三区| 欧美一区日韩一区| 日韩一区二区电影| 欧美一区二区三区爱爱| 欧美一区二区在线看| 在线综合视频播放| 日韩女优毛片在线| 精品日韩在线观看| 亚洲精品一区二区三区精华液| 日韩欧美国产系列| 久久美女艺术照精彩视频福利播放| www日韩大片| 国产网红主播福利一区二区| 久久久蜜臀国产一区二区| 久久综合九色综合久久久精品综合 | 精品国产免费久久| 精品国产制服丝袜高跟| www久久精品| 国产精品久久久久久久久果冻传媒 | 日韩欧美色综合网站| 日韩精品在线网站| 国产偷国产偷亚洲高清人白洁| 国产欧美中文在线| 亚洲人成精品久久久久| 亚洲专区一二三| 免费成人在线观看| 国产成人亚洲综合a∨猫咪| 99视频在线观看一区三区| 色哟哟一区二区| 91精品国产综合久久香蕉麻豆| 欧美电影精品一区二区| 国产三级欧美三级日产三级99| 国产精品网站导航| 亚洲成人在线网站| 久久99这里只有精品| 国产成人小视频| 欧美亚洲综合在线| 精品国产一区二区三区不卡 | 亚洲最快最全在线视频| 奇米色777欧美一区二区| 国产精品一区二区男女羞羞无遮挡| 福利一区在线观看| 欧美性一区二区| 精品国产一区二区三区忘忧草 | 久久精品日韩一区二区三区| 国产精品免费人成网站| 亚洲成a人片在线不卡一二三区| 理论片日本一区| 99精品视频中文字幕| 欧美美女bb生活片| 国产午夜亚洲精品理论片色戒| 亚洲自拍偷拍综合| 在线观看亚洲专区| 99视频在线精品| 欧美日韩中文精品| 欧美日韩精品欧美日韩精品一| 日本精品视频一区二区三区| 亚洲日本va在线观看| 日韩中文字幕91| 久久91精品久久久久久秒播| 成人免费黄色在线| 欧美激情在线看| 国产色综合久久| |精品福利一区二区三区| 国产精品理论在线观看| 美腿丝袜在线亚洲一区| 色综合色综合色综合| 国产日韩精品视频一区| 国内精品伊人久久久久av一坑| 久久精品国产澳门| 国产激情一区二区三区四区| 成人动漫在线一区| 日韩亚洲欧美一区二区三区| 亚洲精品视频在线观看免费| 成人永久aaa| av网站免费线看精品| 成人免费精品视频| 国产激情一区二区三区| 国产一区亚洲一区| av一二三不卡影片| 一本大道久久a久久综合| 欧美日韩一区在线观看| 自拍偷在线精品自拍偷无码专区| 国产一区欧美日韩| 精品国产不卡一区二区三区| 亚洲午夜电影网| 欧美在线免费视屏| 亚洲一区二区欧美日韩| 99精品视频一区二区| 一区二区三区中文在线| 91网站在线播放| av不卡在线观看| 久久九九99视频| 免费高清在线一区| 8v天堂国产在线一区二区| 亚洲综合一二三区| 在线观看日韩国产| 亚洲一区av在线| 日本电影亚洲天堂一区| 成人欧美一区二区三区黑人麻豆| 国产不卡视频在线播放| 久久嫩草精品久久久精品| 精品一区二区三区免费| 日韩你懂的在线观看| 麻豆精品一区二区综合av| 欧美一卡二卡在线| 看片的网站亚洲| 精品国产乱码久久久久久牛牛| 蜜臂av日日欢夜夜爽一区| 欧美电影精品一区二区| 久久aⅴ国产欧美74aaa| 久久亚洲春色中文字幕久久久| 国产毛片精品视频| 欧美国产丝袜视频| 99久久婷婷国产精品综合| 亚洲三级免费观看| 欧美视频一区二区在线观看| 首页综合国产亚洲丝袜| 日韩一级片网站| 国产一区二区三区在线观看精品| 精品久久久久久久一区二区蜜臀| 捆绑紧缚一区二区三区视频| 久久久久久97三级| 成人黄色免费短视频| 亚洲品质自拍视频| 欧美猛男男办公室激情| 麻豆精品一区二区| 中文字幕欧美区| 在线观看亚洲专区| 日产精品久久久久久久性色| 欧美videos中文字幕| va亚洲va日韩不卡在线观看| 亚洲男人都懂的| 欧美一区二区在线观看| 精品一区二区在线免费观看| 国产精品网站在线播放| 欧美性猛交xxxx乱大交退制版| 天天做天天摸天天爽国产一区| 日韩欧美国产系列| www.久久精品| 日韩电影网1区2区| 欧美激情在线观看视频免费| 91国偷自产一区二区开放时间| 美女视频黄a大片欧美| 国产精品热久久久久夜色精品三区| 91蜜桃网址入口| 久久国产精品免费| 亚洲精选视频免费看| 日韩三级在线观看| 99久久久精品| 麻豆精品一区二区av白丝在线| 国产精品久线观看视频| 欧美精品久久久久久久久老牛影院| 国产一区亚洲一区| 首页综合国产亚洲丝袜| 国产精品视频一二三| 777精品伊人久久久久大香线蕉| 国产精品一区二区在线观看网站| 亚洲最大成人综合| 国产日韩欧美精品电影三级在线| 欧美色爱综合网| 成人性视频免费网站| 蜜桃一区二区三区在线观看| 亚洲精品一卡二卡| 国产日韩欧美一区二区三区乱码| 欧美精品久久天天躁| 91毛片在线观看| 大胆亚洲人体视频|