(cdata []byte, n *Node)
| 363 | } |
| 364 | |
| 365 | func (d *Decoder) decRotate(cdata []byte, n *Node) error { |
| 366 | |
| 367 | rot := new(Rotate) |
| 368 | n.TransformationElements = append(n.TransformationElements, rot) |
| 369 | |
| 370 | err := decFloat32Sequence(cdata, rot.Data[0:4]) |
| 371 | if err != nil { |
| 372 | return err |
| 373 | } |
| 374 | return nil |
| 375 | } |
| 376 | |
| 377 | func (d *Decoder) decTranslate(cdata []byte, n *Node) error { |
| 378 |
no test coverage detected