point_on_line.m
来自「Matlab实现光线跟踪算法」· M 代码 · 共 21 行
M
21 行
function [r_out] = point_on_line(r_0,e_l,l);% POINT_ON_LINE - calculates the vector to a point% R_OUT that are L away from R_0 in the direction% E_L.% % Calling:% [r_out] = poin_on_line(r_0,e_l,l);% % Bjorn Gustavsson% Copyright (c) 1997 by Bjorn Gustavsson% $Revision: 1.1 $ $Date: 1997/12/17 15:08:28 $%% $Log: point_on_line.m,v $% Revision 1.1 1997/12/17 15:08:28 bjorn% Initial revision%r_out = r_0+l*e_l;
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?