mirror of
https://github.com/gonum/gonum.git
synced 2025-11-01 02:52:49 +08:00
spatial/r3: fix deprecation syntax so it is recognised by pkgsite
This commit is contained in:
@@ -62,7 +62,7 @@ func Eye() *Mat {
|
|||||||
// Skew({x,y,z}) = ⎢ z 0 -x⎥
|
// Skew({x,y,z}) = ⎢ z 0 -x⎥
|
||||||
// ⎣-y x 0⎦
|
// ⎣-y x 0⎦
|
||||||
//
|
//
|
||||||
// DEPRECATED: use Mat.Skew()
|
// Deprecated: use Mat.Skew()
|
||||||
func Skew(v Vec) (M *Mat) {
|
func Skew(v Vec) (M *Mat) {
|
||||||
return &Mat{&array{
|
return &Mat{&array{
|
||||||
0, -v.Z, v.Y,
|
0, -v.Z, v.Y,
|
||||||
|
|||||||
@@ -49,7 +49,7 @@ func Eye() *Mat {
|
|||||||
// Skew({x,y,z}) = ⎢ z 0 -x⎥
|
// Skew({x,y,z}) = ⎢ z 0 -x⎥
|
||||||
// ⎣-y x 0⎦
|
// ⎣-y x 0⎦
|
||||||
//
|
//
|
||||||
// DEPRECATED: use Mat.Skew()
|
// Deprecated: use Mat.Skew()
|
||||||
func Skew(v Vec) (M *Mat) {
|
func Skew(v Vec) (M *Mat) {
|
||||||
return &Mat{&array{
|
return &Mat{&array{
|
||||||
{0, -v.Z, v.Y},
|
{0, -v.Z, v.Y},
|
||||||
|
|||||||
Reference in New Issue
Block a user