1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-12 09:44:16 +02:00

add doc link, etc

This commit is contained in:
Justin Lin
2019-05-02 10:55:09 +08:00
parent 9e26bd35ec
commit ce14b4fec7
7 changed files with 70 additions and 0 deletions

View File

@@ -1,3 +1,13 @@
/**
* m_mirror.scad
*
* @copyright Justin Lin, 2019
* @license https://opensource.org/licenses/lgpl-3.0.html
*
* @see https://openhome.cc/eGossip/OpenSCAD/lib-m_mirror.html
*
**/
function m_mirror(v) = function m_mirror(v) =
let( let(
nv = v / norm(v), nv = v / norm(v),

View File

@@ -1,3 +1,13 @@
/**
* m_multiply.scad
*
* @copyright Justin Lin, 2019
* @license https://opensource.org/licenses/lgpl-3.0.html
*
* @see https://openhome.cc/eGossip/OpenSCAD/lib-m_multiply.html
*
**/
include <__private__/__m_multiply.scad>; include <__private__/__m_multiply.scad>;
function m_multiply(ma, mb) = __m_multiply(ma, mb); function m_multiply(ma, mb) = __m_multiply(ma, mb);

View File

@@ -1,3 +1,13 @@
/**
* m_rotation.scad
*
* @copyright Justin Lin, 2019
* @license https://opensource.org/licenses/lgpl-3.0.html
*
* @see https://openhome.cc/eGossip/OpenSCAD/lib-m_rotation.html
*
**/
include <__private__/__m_multiply.scad>; include <__private__/__m_multiply.scad>;
function _q_rotation(a, v) = function _q_rotation(a, v) =

View File

@@ -1,3 +1,13 @@
/**
* m_scaling.scad
*
* @copyright Justin Lin, 2019
* @license https://opensource.org/licenses/lgpl-3.0.html
*
* @see https://openhome.cc/eGossip/OpenSCAD/lib-m_scaling.html
*
**/
function _to_vect(s) = function _to_vect(s) =
len(s) == 3 ? s : ( len(s) == 3 ? s : (
len(s) == 2 ? [s[0], s[1], 1] : ( len(s) == 2 ? [s[0], s[1], 1] : (

View File

@@ -1,3 +1,13 @@
/**
* m_shearing.scad
*
* @copyright Justin Lin, 2019
* @license https://opensource.org/licenses/lgpl-3.0.html
*
* @see https://openhome.cc/eGossip/OpenSCAD/lib-m_shearing.html
*
**/
include <__private__/__m_multiply.scad>; include <__private__/__m_multiply.scad>;
include <__private__/__m_shearing.scad>; include <__private__/__m_shearing.scad>;

View File

@@ -1,3 +1,13 @@
/**
* m_translation.scad
*
* @copyright Justin Lin, 2019
* @license https://opensource.org/licenses/lgpl-3.0.html
*
* @see https://openhome.cc/eGossip/OpenSCAD/lib-m_translation.html
*
**/
function _to_vect(v) = function _to_vect(v) =
len(v) == 3 ? v : ( len(v) == 3 ? v : (
len(v) == 2 ? [v[0], v[1], 0] : ( len(v) == 2 ? [v[0], v[1], 0] : (

View File

@@ -1,3 +1,13 @@
/**
* shear.scad
*
* @copyright Justin Lin, 2019
* @license https://opensource.org/licenses/lgpl-3.0.html
*
* @see https://openhome.cc/eGossip/OpenSCAD/lib-shear.html
*
**/
include <__private__/__m_multiply.scad>; include <__private__/__m_multiply.scad>;
include <__private__/__m_shearing.scad>; include <__private__/__m_shearing.scad>;