mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-12 01:34:12 +02:00
add doc link, etc
This commit is contained in:
@@ -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) =
|
||||
let(
|
||||
nv = v / norm(v),
|
||||
|
@@ -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>;
|
||||
|
||||
function m_multiply(ma, mb) = __m_multiply(ma, mb);
|
@@ -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>;
|
||||
|
||||
function _q_rotation(a, v) =
|
||||
|
@@ -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) =
|
||||
len(s) == 3 ? s : (
|
||||
len(s) == 2 ? [s[0], s[1], 1] : (
|
||||
|
@@ -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_shearing.scad>;
|
||||
|
||||
|
@@ -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) =
|
||||
len(v) == 3 ? v : (
|
||||
len(v) == 2 ? [v[0], v[1], 0] : (
|
||||
|
@@ -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_shearing.scad>;
|
||||
|
||||
|
Reference in New Issue
Block a user